Re: How about a psql backslash command to show GUCs? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How about a psql backslash command to show GUCs?
Date
Msg-id 4115803.1649521632@sss.pgh.pa.us
Whole thread Raw
In response to Re: How about a psql backslash command to show GUCs?  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Responses Re: How about a psql backslash command to show GUCs?
Re: How about a psql backslash command to show GUCs?
List pgsql-hackers
"Jonathan S. Katz" <jkatz@postgresql.org> writes:
> -1, at least for the moment. Sometimes a user doesn't know what they're 
> looking for coupled with being unaware of what the default value is. If 
> a setting is set to a default value and that value is the problematic 
> setting, a user should be able to see that even in a full list.

Sure, but then you do "\dconfig *".  With there being several hundred
GUCs (and no doubt more coming), I'm not sure that "show me every GUC"
is a common use-case at all, let alone so common as to deserve being
the default behavior.

One thing we could perhaps do to reduce confusion is to change the
table heading when doing this, say from "List of configuration parameters"
to "List of non-default configuration parameters".

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: why pg_walfile_name() cannot be executed during recovery?
Next
From: Tom Lane
Date:
Subject: Re: Add parameter jit_warn_above_fraction