[postgis-tickets] r17850 - Add missing conname column,

Paul Ramsey pramsey at cleverelephant.ca
Wed Oct 2 10:12:26 PDT 2019


Author: pramsey
Date: 2019-10-02 10:12:26 -0700 (Wed, 02 Oct 2019)
New Revision: 17850

Modified:
   branches/2.4/raster/rt_pg/rtpostgis.sql.in
Log:
Add missing conname column, 
References #4516


Modified: branches/2.4/raster/rt_pg/rtpostgis.sql.in
===================================================================
--- branches/2.4/raster/rt_pg/rtpostgis.sql.in	2019-10-02 14:25:20 UTC (rev 17849)
+++ branches/2.4/raster/rt_pg/rtpostgis.sql.in	2019-10-02 17:12:26 UTC (rev 17850)
@@ -7349,7 +7349,7 @@
 	BEGIN
 		SELECT
 			s.conname INTO cn
-		FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conrelid, conkey, conexclop, conindid, pg_get_constraintdef(oid) As consrc
+		FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conname, conrelid, conkey, conexclop, conindid, pg_get_constraintdef(oid) As consrc
 			FROM pg_constraint WHERE contype = 'x') s, pg_index idx, pg_operator op
 		WHERE n.nspname = $1
 			AND c.relname = $2



More information about the postgis-tickets mailing list