Opened 18 years ago

Closed 18 years ago

#1544 closed defect (duplicate)

bug in mappostgis.c not trimming using... before going to postgresql

Reported by: akrherz@… Owned by: refractions
Priority: high Milestone:
Component: PostGIS Interface Version: 4.8
Severity: normal Keywords:
Cc:

Description

can not get postgis layers to work with beta2.  This line looks suspicious in
mappostgis.c

line 1840
pos_opt = (pos_srid > pos_urid) ? pos_srid : pos_urid;

I think it is backwards,  It should be

pos_opt = (pos_srid > pos_urid) ? pos_urid : pos_srid;

I applied this change locally and postgis worked again... I should back up.  The
problem is that postgis doesn't trim the first 'using ...' from the SQL before
sending to PostgreSQL.

Change History (1)

comment:1 by akrherz@…, 18 years ago

Resolution: duplicate
Status: newclosed

*** This bug has been marked as a duplicate of 1443 ***
Note: See TracTickets for help on using tickets.