[postgis-tickets] [SCM] PostGIS branch stable-2.3 updated. 4e1e1f486274c39cf2c9f2b204f42e949df07719

git at osgeo.org git at osgeo.org
Sun Mar 1 12:35:23 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-2.3 has been updated
       via  4e1e1f486274c39cf2c9f2b204f42e949df07719 (commit)
      from  e719d49c3153e6ca1483a97167965fd11e908089 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4e1e1f486274c39cf2c9f2b204f42e949df07719
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Mar 1 15:35:17 2020 -0500

    Replace use of consrc with pg_get_constraintdef from raster functions missed add  References  #4518 for PostGIS 2.3.11

diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in
index b48eed5..29cfa16 100644
--- a/raster/rt_pg/rtpostgis.sql.in
+++ b/raster/rt_pg/rtpostgis.sql.in
@@ -7265,7 +7265,7 @@ CREATE OR REPLACE FUNCTION _raster_constraint_info_spatially_unique(rastschema n
 	RETURNS boolean AS $$
 	SELECT
 		TRUE
-	FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conrelid, conkey, contype, pg_get_constraintdef(oid) As consrc
+	FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conrelid, conkey, contype, conindid, conexclop, pg_get_constraintdef(oid) As consrc
 			FROM pg_constraint) s
 		, pg_index idx, pg_operator op
 	WHERE n.nspname = $1
@@ -7316,7 +7316,7 @@ CREATE OR REPLACE FUNCTION _drop_raster_constraint_spatially_unique(rastschema n
 	BEGIN
 		SELECT
 			s.conname INTO cn
-		FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conrelid, conkey, contype, pg_get_constraintdef(oid) As consrc
+		FROM pg_class c, pg_namespace n, pg_attribute a, (SELECT connamespace, conrelid, conkey, contype, conindid, conexclop, pg_get_constraintdef(oid) As consrc
 			FROM pg_constraint) s
 				, pg_index idx, pg_operator op
 		WHERE n.nspname = $1

-----------------------------------------------------------------------

Summary of changes:
 raster/rt_pg/rtpostgis.sql.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list