aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-12-03 14:21:52 +0900
committerMichael Paquier <michael@paquier.xyz>2018-12-03 14:21:52 +0900
commitee2b37ae044f34851baba69e9ba737077326414e (patch)
tree7a1100b30707d054d2290f67241a1266495d8151 /src/bin/psql/command.c
parentd3c09b9b1307e022883801000ae36bcb5eef71e8 (diff)
downloadpostgresql-ee2b37ae044f34851baba69e9ba737077326414e.tar.gz
postgresql-ee2b37ae044f34851baba69e9ba737077326414e.zip
Add some missing schema qualifications
This does not improve the security and reliability of the touched areas, but it makes the style more consistent. Author: Michael Paquier Reviewed-by- Noah Misch Discussion: https://postgr.es/m/20180309075538.GD9376@paquier.xyz
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 4a298ef0c5b..55315fe43b6 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -4578,7 +4578,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
printfPQExpBuffer(query,
"SELECT nspname, relname, relkind, "
"pg_catalog.pg_get_viewdef(c.oid, true), "
- "array_remove(array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, "
+ "pg_catalog.array_remove(pg_catalog.array_remove(c.reloptions,'check_option=local'),'check_option=cascaded') AS reloptions, "
"CASE WHEN 'check_option=local' = ANY (c.reloptions) THEN 'LOCAL'::text "
"WHEN 'check_option=cascaded' = ANY (c.reloptions) THEN 'CASCADED'::text ELSE NULL END AS checkoption "
"FROM pg_catalog.pg_class c "