Commit 31e2e1a8 authored by Kevin Neufeld's avatar Kevin Neufeld

fixed bug in probe_geometry_columns where an srid of -1 is not properly detected. (last time :))

git-svn-id: http://svn.osgeo.org/postgis/[email protected] b70326c6-7e19-0410-871a-916f4a2858ee
parent 37405bec
......@@ -2830,7 +2830,7 @@ BEGIN
AND sridcheck.connamespace = n.oid
AND typecheck.connamespace = n.oid
AND sridcheck.conrelid = c.oid
AND sridcheck.consrc LIKE '(srid('||a.attname||') = %)'
AND sridcheck.consrc LIKE '(st_srid('||a.attname||') = %)'
AND typecheck.conrelid = c.oid
AND typecheck.consrc LIKE
'((geometrytype('||a.attname||') = ''%''::text) OR (% IS NULL))'
......
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