From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Joe Conway <mail(at)joeconway(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, David Rowley <dgrowleyml(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: How about a psql backslash command to show GUCs? |
Date: | 2022-04-07 17:07:59 |
Message-ID: | CAFj8pRA2aEY+SRjZ_WurB8512Etry3Arefv_L7fkpHW-ct3kkQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
čt 7. 4. 2022 v 19:04 odesílatel David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> napsal:
> On Thu, Apr 7, 2022 at 9:58 AM Joe Conway <mail(at)joeconway(dot)com> wrote:
>
>> On 4/7/22 12:37, Tom Lane wrote:
>> > Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com> writes:
>> >>> On Apr 7, 2022, at 9:29 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> >>> I wouldn't
>> >>> fight too hard if people want to lengthen it to \dconfig for
>> consistency
>> >>> with set_config().
>> >
>> >> I'd prefer \dconfig, but if the majority on this list view that as
>> pedantically forcing them to type more, I'm not going to kick up a fuss
>> about \dconf.
>> >
>> > Maybe I'm atypical, but I'm probably going to use tab completion
>> > either way, so it's not really more keystrokes. The consistency
>> > point is a good one that I'd not considered before.
>>
>> Yeah I had thought about \dconfig too -- +1 to that, although I am fine
>> with \dconf too.
>>
>>
> \dconfig[+] gets my vote. I was going to say "conf" just isn't common
> jargon to say or write; but the one place it is - file extensions - is
> relevant and common. But still, I would go with the non-jargon form.
>
dconfig is better, because google can be confused - dconf is known project
https://en.wikipedia.org/wiki/Dconf
The length is not too important when we have tab complete
Regards
Pavel
> David J.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-04-07 17:10:21 | Re: Mingw task for Cirrus CI |
Previous Message | David G. Johnston | 2022-04-07 17:04:19 | Re: How about a psql backslash command to show GUCs? |