Re: psql SET/RESET/SHOW tab completion

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql SET/RESET/SHOW tab completion
Date: 2005-08-15 02:06:22
Message-ID: 200508150206.j7F26Mv10946@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Greg Stark <gsstark(at)mit(dot)edu> writes:
> > I'm not sure if you're interested, but my 2c speaking as a user would be for
> > tab completion to include all variables.
>
> OK, I'm clearly outvoted on this one. How about we make SHOW
> tab-complete everything listed in pg_settings, while SET/RESET
> tab-complete everything that's USERSET or SUSET?
>
> (We could probably even make it suppress SUSET if you aren't superuser,
> but I'm not sure if that's worth the trouble.)

Yea, that's what I was thinking. Not sure if the superuser check is
_too_ smart.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2005-08-15 04:25:27 Re: SPARQL
Previous Message Christopher Kings-Lynne 2005-08-15 01:53:18 Re: SPARQL