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-07-30 16:16:25 |
Message-ID: | 200107301616.f6UGGPt07093@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
> 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 | Bruce Momjian | 2001-07-30 16:20:58 | Re: Revised Patch to allow multiple table locks in "Unison" |
Previous Message | Fernando Nasser | 2001-07-30 16:16:22 | Re: Revised Patch to allow multiple table locks in "Unison" |