public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Joe Conway <[email protected]>
Cc: Alvaro Herrera <[email protected]>
Cc: [email protected]
Cc: Mark Dilger <[email protected]>
Subject: Re: How about a psql backslash command to show GUCs?
Date: Wed, 06 Apr 2022 14:40:40 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
Joe Conway <[email protected]> writes:
> No as sure about \show though. That seems like it could be confused with
> showing other stuff. Maybe consistent with \sf[+] and \sv[+] we could
> add \sc[+]?
Hmm ... my first reaction to that was "no, it should be \sp for
'parameter'". But with the neighboring \sf for 'function', it'd
be easy to think that maybe 'p' means 'procedure'.
I do agree that \show might be a bad choice, the reason being that
the adjacent \set command is for psql variables not GUCs; if we
had a \show I'd sort of expect it to be a variant spelling of
"\echo :variable".
"\sc" isn't awful perhaps.
Ah, naming ... the hardest problem in computer science.
regards, tom lane
view thread (7+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: How about a psql backslash command to show GUCs?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox