public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Peter Smith <[email protected]>
Cc: Zheng Li <[email protected]>
Cc: [email protected]
Subject: Re: pub/sub - specifying optional parameters without values.
Date: Mon, 30 Jan 2023 17:55:43 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAHut+Puy_mtvO7Zwb6PaRZyUYZ4yR1M2bMaqg_aorMHbrTbcWA@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>

Peter Smith <[email protected]> writes:
> I'd forgotten about the 'streaming' option -- AFAIK this was
> previously a boolean parameter and so its [= value] part can also be
> omitted. However, in PG16 streaming became an enum type
> (on/off/parallel), and the value can still be omitted but that is not
> really being covered by the new generic text note about booleans added
> by yesterday's patch.

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.

			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]
  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