]> granicus.if.org Git - postgis/commitdiff
Rename topogeometry column check to be more readable
authorSandro Santilli <strk@keybit.net>
Sat, 28 Jan 2012 13:18:24 +0000 (13:18 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 28 Jan 2012 13:18:24 +0000 (13:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8956 b70326c6-7e19-0410-871a-916f4a2858ee

topology/topology.sql.in.c

index 63cafed8ff16f341484d5295ebfc5d3b54a1d409..0e4dc77792baea308b8a88bae262f5d4d654edc1 100644 (file)
@@ -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