Missing psql tab-completion for ALTER FOREIGN TABLE
Here is a patch to add missing tab-completion for ALTER FOREIGN TABLE.
I'll add this to the next CF.
Best regards,
Etsuro Fujita
Attachments:
psql-tabcomp-v1.patchtext/x-diff; name=psql-tabcomp-v1.patchDownload
*** a/src/bin/psql/tab-complete.c
--- b/src/bin/psql/tab-complete.c
***************
*** 1128,1134 **** psql_completion(const char *text, int start, int end)
pg_strcasecmp(prev2_wd, "TABLE") == 0)
{
static const char *const list_ALTER_FOREIGN_TABLE[] =
! {"ALTER", "DROP", "RENAME", "OWNER TO", "SET SCHEMA", NULL};
COMPLETE_WITH_LIST(list_ALTER_FOREIGN_TABLE);
}
--- 1128,1136 ----
pg_strcasecmp(prev2_wd, "TABLE") == 0)
{
static const char *const list_ALTER_FOREIGN_TABLE[] =
! {"ADD", "ALTER", "DISABLE TRIGGER", "DROP", "ENABLE", "INHERIT",
! "NO INHERIT", "OPTIONS", "OWNER TO", "RENAME", "SET",
! "VALIDATE CONSTRAINT", NULL};
COMPLETE_WITH_LIST(list_ALTER_FOREIGN_TABLE);
}
On Mon, Apr 27, 2015 at 2:50 AM, Etsuro Fujita
<fujita.etsuro@lab.ntt.co.jp> wrote:
Here is a patch to add missing tab-completion for ALTER FOREIGN TABLE.
I'll add this to the next CF.
Committed, thanks.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
On 2015/04/30 1:59, Robert Haas wrote:
On Mon, Apr 27, 2015 at 2:50 AM, Etsuro Fujita
<fujita.etsuro@lab.ntt.co.jp> wrote:Here is a patch to add missing tab-completion for ALTER FOREIGN TABLE.
I'll add this to the next CF.Committed, thanks.
Thanks!
Best regards,
Etsuro Fujita
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers