Opened 13 years ago

#3618 new defect

postgis layer with USING UNIQUE and queries

Reported by: assefa Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: assefa

Description

I run into an issue where the DATA definition is like this

DATA "wkb_geometry from folie001_test USING UNIQUE objnr"

when a getshape is called, It end up being translated into a postgis query the would end up like:

...from folie001_test where "objnr" = 0

0 being the shape index asked. This would generate errors.

Removing the USING UNIQUE objnr gives the correct result.

Change History (0)

Note: See TracTickets for help on using tickets.