From: Sandro Santilli Date: Sat, 28 Jan 2012 13:18:24 +0000 (+0000) Subject: Rename topogeometry column check to be more readable X-Git-Tag: 2.0.0alpha3~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d2e22331eeba64ed380b289a56af891e60a6b54;p=postgis Rename topogeometry column check to be more readable git-svn-id: http://svn.osgeo.org/postgis/trunk@8956 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/topology.sql.in.c b/topology/topology.sql.in.c index 63cafed8f..0e4dc7779 100644 --- a/topology/topology.sql.in.c +++ b/topology/topology.sql.in.c @@ -626,7 +626,7 @@ BEGIN -- EXECUTE 'ALTER TABLE ' || quote_ident(schema) || '.' || quote_ident(tbl) - || ' ADD CONSTRAINT "check_topogeom' || col || '" CHECK (' + || ' ADD CONSTRAINT "check_topogeom_' || col || '" CHECK (' || 'topology_id(' || quote_ident(col) || ') = ' || topoid || ' AND ' || 'layer_id(' || quote_ident(col) || ') = ' || newlayer_id