Commit 37405bec authored by Kevin Neufeld's avatar Kevin Neufeld

fixed bug in probe_geometry_columns where an srid of -1 is not properly detected.

git-svn-id: http://svn.osgeo.org/postgis/[email protected] b70326c6-7e19-0410-871a-916f4a2858ee
parent ec220b60
......@@ -2814,7 +2814,7 @@ BEGIN
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, '::')-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment