Re: psql SET/RESET/SHOW tab completion
От | Bruce Momjian |
---|---|
Тема | Re: psql SET/RESET/SHOW tab completion |
Дата | |
Msg-id | 200508131434.j7DEYhF13517@candle.pha.pa.us обсуждение исходный текст |
Ответ на | psql SET/RESET/SHOW tab completion (Michael Fuhr <mike@fuhr.org>) |
Список | pgsql-hackers |
Michael Fuhr wrote: > Would anybody object to a patch to update psql's tab completion for > SET/RESET/SHOW to include everything that SHOW shows for a superuser? > > I count about 65 variables that SHOW shows that are missing from > pgsql_variables in tab-complete.c. Does the list intentionally > omit certain variables? The comment mentions that the list "should > match USERSET and possibly SUSET," but I'm thinking it would be > useful to include everything SHOWable. In any case, a few USERSET > variables like check_function_bodies and escape_string_warning are > missing, so I'd like to add at least those. Makes sense. We were thinking mostly of SET when we made the list, but SHOW would be used in a lot of cases we don't handle now. Ideally we could have that list auto-generated somehow. -- 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 по дате отправления: