aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-09-05 11:40:08 +0900
committerFujii Masao <fujii@postgresql.org>2014-09-05 11:40:55 +0900
commit7695f9701a8bf46bf385c96bce2e216ee2ccf93e (patch)
treed270620c2c3bc8312cdb6956e0d17b4f90c0d148
parentffb16cf29fe127b1105310a70d908b7bba88d0ac (diff)
downloadpostgresql-7695f9701a8bf46bf385c96bce2e216ee2ccf93e.tar.gz
postgresql-7695f9701a8bf46bf385c96bce2e216ee2ccf93e.zip
Add tab-completion for reloptions like user_catalog_table.
Back-patch to 9.4 where user_catalog_table was added. Review by Michael Paquier
-rw-r--r--src/bin/psql/tab-complete.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 96de7783e90..e0ee381a89e 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -1612,6 +1612,9 @@ psql_completion(const char *text, int start, int end)
"autovacuum_freeze_max_age",
"autovacuum_freeze_min_age",
"autovacuum_freeze_table_age",
+ "autovacuum_multixact_freeze_max_age",
+ "autovacuum_multixact_freeze_min_age",
+ "autovacuum_multixact_freeze_table_age",
"autovacuum_vacuum_cost_delay",
"autovacuum_vacuum_cost_limit",
"autovacuum_vacuum_scale_factor",
@@ -1621,10 +1624,14 @@ psql_completion(const char *text, int start, int end)
"toast.autovacuum_freeze_max_age",
"toast.autovacuum_freeze_min_age",
"toast.autovacuum_freeze_table_age",
+ "toast.autovacuum_multixact_freeze_max_age",
+ "toast.autovacuum_multixact_freeze_min_age",
+ "toast.autovacuum_multixact_freeze_table_age",
"toast.autovacuum_vacuum_cost_delay",
"toast.autovacuum_vacuum_cost_limit",
"toast.autovacuum_vacuum_scale_factor",
"toast.autovacuum_vacuum_threshold",
+ "user_catalog_table",
NULL
};