]> granicus.if.org Git - postgis/commitdiff
One more error in raster change - hopefully this is it
authorRegina Obe <lr@pcorp.us>
Mon, 19 Nov 2018 01:12:55 +0000 (01:12 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 19 Nov 2018 01:12:55 +0000 (01:12 +0000)
References #4231 for PostGIS 3.0

git-svn-id: http://svn.osgeo.org/postgis/trunk@17032 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in

index f1071c11fe52e8ec4cec3ac7a79bac0a1ced98a9..f9a7064ee55ece7bdfb02005df78efbf385a8666 100644 (file)
@@ -7623,7 +7623,7 @@ CREATE OR REPLACE FUNCTION _drop_raster_constraint_spatially_unique(rastschema n
                SELECT
                        s.conname INTO cn
                FROM pg_class c, pg_namespace n, pg_attribute a
-               , (SELECT connamespace, conrelid, conkey, conindid, contype, conexclop, pg_get_constraintdef(oid) As consrc
+               , (SELECT connamespace, conname, conrelid, conkey, conindid, contype, conexclop, pg_get_constraintdef(oid) As consrc
                        FROM pg_constraint) AS s
                , pg_index idx, pg_operator op
                WHERE n.nspname = $1