From: Sandro Santilli Date: Sat, 28 Jan 2012 07:44:40 +0000 (+0000) Subject: Allow multiple topogeometry columns in one table (again) X-Git-Tag: 2.0.0alpha3~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05b7566ab471a154a522447aed370ff0ebe7849e;p=postgis Allow multiple topogeometry columns in one table (again) Dunno why this piece was missing from previous commit, sorry git-svn-id: http://svn.osgeo.org/postgis/trunk@8954 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/topology/topology.sql.in.c b/topology/topology.sql.in.c index 1eda5d473..63cafed8f 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 CHECK (' + || ' ADD CONSTRAINT "check_topogeom' || col || '" CHECK (' || 'topology_id(' || quote_ident(col) || ') = ' || topoid || ' AND ' || 'layer_id(' || quote_ident(col) || ') = ' || newlayer_id