File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ DECLARE
133133 key_cols text DEFAULT ' ' ;
134134BEGIN
135135 SELECT string_agg(quote_ident(t .attname ), ' ,' )
136- INTO key_cols
136+ INTO STRICT key_cols
137137 FROM
138138 pg_catalog .pg_attribute t
139139 JOIN pg_catalog .pg_constraint c
@@ -217,7 +217,7 @@ DECLARE
217217BEGIN
218218 -- Determine whether the source table is "all key, no attributes"
219219 SELECT array_length(con .conkey , 1 ) = count (att .attnum )
220- INTO all_keys
220+ INTO STRICT all_keys
221221 FROM
222222 pg_catalog .pg_attribute att
223223 JOIN pg_catalog .pg_constraint con
@@ -233,7 +233,7 @@ BEGIN
233233 RETURN _build_insert_keys(source_oid, dest_oid);
234234 ELSE
235235 SELECT string_agg(quote_ident(t .attname ), ' ,' )
236- INTO key_cols
236+ INTO STRICT key_cols
237237 FROM
238238 pg_catalog .pg_attribute t
239239 JOIN pg_catalog .pg_constraint c
You can’t perform that action at this time.
0 commit comments