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