]> granicus.if.org Git - postgresql/commitdiff
Add tab-completion for reloptions like user_catalog_table.
authorFujii Masao <fujii@postgresql.org>
Fri, 5 Sep 2014 02:40:08 +0000 (11:40 +0900)
committerFujii Masao <fujii@postgresql.org>
Fri, 5 Sep 2014 02:40:08 +0000 (11:40 +0900)
Back-patch to 9.4 where user_catalog_table was added.

Review by Michael Paquier

src/bin/psql/tab-complete.c

index 8288b41f0a5ebbebe6c33b288fcf77bd9043d90e..74d35bca60eb846a3cadde8bfb170132c8a75a46 100644 (file)
@@ -1694,6 +1694,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",
@@ -1703,10 +1706,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
                };