[postgis-commits] svn - r3422 - trunk/lwgeom
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Tue Dec 16 13:11:56 PST 2008
Author: kneufeld
Date: 2008-12-16 13:11:56 -0800 (Tue, 16 Dec 2008)
New Revision: 3422
Modified:
trunk/lwgeom/lwpostgis.sql.in.c
Log:
fixed bug in probe_geometry_columns where an srid of -1 is not properly detected.
Modified: trunk/lwgeom/lwpostgis.sql.in.c
===================================================================
--- trunk/lwgeom/lwpostgis.sql.in.c 2008-12-16 21:07:26 UTC (rev 3421)
+++ trunk/lwgeom/lwpostgis.sql.in.c 2008-12-16 21:11:56 UTC (rev 3422)
@@ -2814,7 +2814,7 @@
2 as coord_dimension,
trim(both ' =)' from
replace(replace(split_part(
- s.consrc, ' = ', 2), ')', ''), '(', ''))::integer AS srid,
+ sridcheck.consrc, ' = ', 2), ')', ''), '(', ''))::integer AS srid,
trim(both ' =)''' from substr(typecheck.consrc,
strpos(typecheck.consrc, '='),
strpos(typecheck.consrc, '::')-
More information about the postgis-commits
mailing list