File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ DECLARE
133
133
key_cols text DEFAULT ' ' ;
134
134
BEGIN
135
135
SELECT string_agg(quote_ident(t .attname ), ' ,' )
136
- INTO key_cols
136
+ INTO STRICT key_cols
137
137
FROM
138
138
pg_catalog .pg_attribute t
139
139
JOIN pg_catalog .pg_constraint c
@@ -217,7 +217,7 @@ DECLARE
217
217
BEGIN
218
218
-- Determine whether the source table is "all key, no attributes"
219
219
SELECT array_length(con .conkey , 1 ) = count (att .attnum )
220
- INTO all_keys
220
+ INTO STRICT all_keys
221
221
FROM
222
222
pg_catalog .pg_attribute att
223
223
JOIN pg_catalog .pg_constraint con
@@ -233,7 +233,7 @@ BEGIN
233
233
RETURN _build_insert_keys(source_oid, dest_oid);
234
234
ELSE
235
235
SELECT string_agg(quote_ident(t .attname ), ' ,' )
236
- INTO key_cols
236
+ INTO STRICT key_cols
237
237
FROM
238
238
pg_catalog .pg_attribute t
239
239
JOIN pg_catalog .pg_constraint c
You can’t perform that action at this time.
0 commit comments