Re: psql SET/RESET/SHOW tab completion

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql SET/RESET/SHOW tab completion
Дата
Msg-id 200508150206.j7F26Mv10946@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql SET/RESET/SHOW tab completion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Greg Stark <gsstark@mit.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: SPARQL
Следующее
От: David Fetter
Дата:
Сообщение: Re: SPARQL