pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: clarify behavior of boolean options in replication commands
Date: Mon, 30 Jan 2023 16:59:41 +0000
Message-ID: <E1pMXVM-000kEz-5s@gemulon.postgresql.org> (raw)

Doc: clarify behavior of boolean options in replication commands.

defGetBoolean() allows the "value" part of "option = value"
syntax to be omitted, in which case it's taken as "true".
This is acknowledged in our syntax summaries for relevant commands,
but we don't seem to have documented the actual behavior anywhere.
Do so for CREATE/ALTER PUBLICATION/SUBSCRIPTION.  Use generic
boilerplate text for this, with the idea that we can copy-and-paste
it into other relevant reference pages, whenever someone gets
around to that.

Peter Smith, edited a bit by me

Discussion: https://postgr.es/m/CAHut+PvwjZfdGt2R8HTXgSZft=jZKymrS8KUg31pS7zqaaWKKw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ec7e053a98f39a9e3c7e6d35f0d2e83933882399

Modified Files
--------------
doc/src/sgml/ref/alter_subscription.sgml  | 7 +++++++
doc/src/sgml/ref/create_publication.sgml  | 7 +++++++
doc/src/sgml/ref/create_subscription.sgml | 7 +++++++
3 files changed, 21 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1pMXVM-000kEz-5s@gemulon.postgresql.org>
Permalink:  ../E1pMXVM-000kEz-5s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pMXVM-000kEz-5s@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: clarify behavior of boolean options in replication commands
  In-Reply-To: <E1pMXVM-000kEz-5s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox