From 53360ffb7a908a881a94ff81934dca9a7825d8d1 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 18 Mar 2025 10:07:08 +0900 Subject: [PATCH v4] doc: Clarify required options for each action in pg_recvlogical Each pg_recvlogical action requires specific options. For example, --slot, --dbname, and --file must be specified with the --start action. Previously, the documentation did not clearly outline these requirements. This commit updates the documentation to explicitly state the necessary options for each action. Author: Hayato Kuroda Co-authored-by: Fujii Masao Reviewed-by: Ashutosh Bapat Reviewed-by: Vignesh C Reviewed-by: David G. Johnston Discussion: https://postgr.es/m/OSCPR01MB14966930B4357BAE8C9D68A8AF5C72@OSCPR01MB14966.jpnprd01.prod.outlook.com --- doc/src/sgml/ref/pg_recvlogical.sgml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml index 95eb14b6352..2946bdae1e5 100644 --- a/doc/src/sgml/ref/pg_recvlogical.sgml +++ b/doc/src/sgml/ref/pg_recvlogical.sgml @@ -73,6 +73,11 @@ PostgreSQL documentation by . + + The and are required + for this action. + + The can be specified with to enable decoding of prepared transactions. @@ -87,6 +92,10 @@ PostgreSQL documentation Drop the replication slot with the name specified by , then exit. + + + The is required for this action. + @@ -101,6 +110,11 @@ PostgreSQL documentation is specified. + + The and , + are required for this action. + + The stream format is determined by the output plugin specified when the slot was created. @@ -159,6 +173,9 @@ PostgreSQL documentation Write received and decoded transaction data into this file. Use - for stdout. + + This parameter is required for . + @@ -265,6 +282,9 @@ PostgreSQL documentation mode, create the slot with this name. In mode, delete the slot with this name. + + This parameter is required for any of actions. + @@ -305,7 +325,11 @@ PostgreSQL documentation The dbname can be a connection string. If so, connection string parameters will override any conflicting - command line options. Defaults to the user name. + command line options. + + + This parameter is required for + and . -- 2.48.1