pgsql: Doc: clarify behavior of boolean options in replication commands

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: clarify behavior of boolean options in replication commands
Date: 2023-01-30 16:59:41
Message-ID: E1pMXVM-000kEz-5s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-01-30 19:13:28 pgsql: Make Vars be outer-join-aware.
Previous Message Dean Rasheed 2023-01-30 10:10:10 pgsql: Ensure that MERGE recomputes GENERATED expressions properly.