Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4644 closed defect (fixed)

PG: ExecuteSQL() try to get the SRS at layer construction

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

Which can be a slow operation if the SQL to process if complex. It is better to defer it to GetSpatialRef() when it is really needed.

Change History (2)

comment:1 by Even Rouault, 12 years ago

Milestone: 1.9.1
Resolution: fixed
Status: newclosed

Fixed in trunk (r24334) and branches/1.9 (r24335)

comment:2 by Even Rouault, 12 years ago

r24353 /trunk/gdal/ogr/ogrsf_frmts/pg/ogrpgresultlayer.cpp: Complementary fix for #4644 : previous optimization was a bit too aggressive

r24354 /branches/1.9/gdal/ogr/ogrsf_frmts/pg/ogrpgresultlayer.cpp: Complementary fix for #4644 : previous optimization was a bit too aggressive

Note: See TracTickets for help on using tickets.