Ticket #1544 (closed defect: duplicate)

Opened 7 years ago

Last modified 7 years ago

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

Changed 7 years ago by akrherz@…

  • status changed from new to closed
  • resolution set to duplicate

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