From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Randy Hall <rhall(at)greatbridge(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Add ANALYZE to tab complete in psql |
Date: | 2001-08-01 18:45:57 |
Message-ID: | 200108011845.f71IjvM06828@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Thanks. Patch applied.
> Attached is a trivial patch to add ANALYZE to the tab complete file in
> psql.
>
> ------------------------
> Randy Hall
>
>
> diff -r -u pgsql/src/bin/psql/tab-complete.c pgsql-local/src/bin/psql/tab-complete.c
> --- pgsql/src/bin/psql/tab-complete.c Wed Jun 20 14:39:14 2001
> +++ pgsql-local/src/bin/psql/tab-complete.c Mon Jul 30 11:51:40 2001
> @@ -195,7 +195,7 @@
> *prev4_wd;
>
> static char *sql_commands[] = {
> - "ABORT", "ALTER", "BEGIN", "CLOSE", "CLUSTER", "COMMENT", "COMMIT", "COPY",
> + "ABORT", "ALTER", "ANALYZE", "BEGIN", "CLOSE", "CLUSTER", "COMMENT", "COMMIT", "COPY",
> "CREATE", "DECLARE", "DELETE", "DROP", "EXPLAIN", "FETCH", "GRANT",
> "INSERT", "LISTEN", "LOAD", "LOCK", "MOVE", "NOTIFY", "RESET",
> "REVOKE", "ROLLBACK", "SELECT", "SET", "SHOW", "TRUNCATE", "UNLISTEN", "UPDATE",
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Padgett | 2001-08-01 18:56:37 | Re: Patch for Improved Syntax Error Reporting |
Previous Message | Bruce Momjian | 2001-08-01 18:45:12 | Re: Patch to enable window size detection code of psql for Solaris platform |