public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Amit Kapila <[email protected]>
Cc: Peter Smith <[email protected]>
Cc: Zheng Li <[email protected]>
Cc: [email protected]
Subject: Re: pub/sub - specifying optional parameters without values.
Date: Tue, 31 Jan 2023 09:49:03 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAA4eK1+dV6eManLjfTVNVyCCGeqDON9AVBjVTVuZXK3oy3QGJg@mail.gmail.com>
References: <CAHut+PvwjZfdGt2R8HTXgSZft=jZKymrS8KUg31pS7zqaaWKKw@mail.gmail.com>
<CAHut+Pt_GEKrRQuqKKJu6v1g61_BEGKx8TNuhYN_euDmZwqRfA@mail.gmail.com>
<167328582545.1136.8620247763467087383.pgcf@coridan.postgresql.org>
<[email protected]>
<CAHut+PuaFu77FtxD-fMoL60O2e8=Zs7XWHGGT1q0+3LDK=eJJg@mail.gmail.com>
<[email protected]>
<CAHut+Puy_mtvO7Zwb6PaRZyUYZ4yR1M2bMaqg_aorMHbrTbcWA@mail.gmail.com>
<[email protected]>
<CAA4eK1+dV6eManLjfTVNVyCCGeqDON9AVBjVTVuZXK3oy3QGJg@mail.gmail.com>
Amit Kapila <[email protected]> writes:
> On Tue, Jan 31, 2023 at 4:25 AM Tom Lane <[email protected]> wrote:
>> Hmph. I generally think that options defined like this (it's a boolean,
>> except it isn't) are a bad idea, and would prefer to see that API
>> rethought while we still can.
> We have discussed this during development and considered using a
> separate option like parallel = on (or say parallel_workers = n) but
> there were challenges with the same. See discussion in email [1]. We
> also checked that we have various other places using something similar
> for options. For example COPY commands option: HEADER [ boolean |
> MATCH ].
Yeah, and it's bad experiences with the existing cases that make me
not want to add more. Every one of those was somebody taking the
easy way out. It generally leads to parsing oddities, such as
not accepting all the same spellings of "boolean" as before.
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: pub/sub - specifying optional parameters without values.
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