pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: clarify behavior of boolean options in replication commands
2+ messages / 1 participants
[nested] [flat]

* pgsql: Doc: clarify behavior of boolean options in replication commands
@ 2023-01-30 16:59 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2023-01-30 16:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Doc: clarify behavior of boolean options in replication protocol
@ 2024-04-07 21:16 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2024-04-07 21:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Doc: clarify behavior of boolean options in replication protocol commands.

Same idea as ec7e053a9, but applying to the walsender commands
described in protocol.sgml.

Peter Smith

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/626603d46337ee331d7616b34ae539b1195556a7

Modified Files
--------------
doc/src/sgml/protocol.sgml | 7 +++++++
1 file changed, 7 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-04-07 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 16:59 pgsql: Doc: clarify behavior of boolean options in replication commands Tom Lane <tgl@sss.pgh.pa.us>
2024-04-07 21:16 pgsql: Doc: clarify behavior of boolean options in replication protocol Tom Lane <tgl@sss.pgh.pa.us>

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