@@ -18465,7 +18465,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
1846518465 <indexterm>
1846618466 <primary>pg_create_physical_replication_slot</primary>
1846718467 </indexterm>
18468- <literal><function>pg_create_physical_replication_slot(<parameter>slot_name</parameter> <type>name</type> <optional>, <parameter>immediately_reserve</> <type>boolean</> </optional>)</function></literal>
18468+ <literal><function>pg_create_physical_replication_slot(<parameter>slot_name</parameter> <type>name</type> <optional>, <parameter>immediately_reserve</> <type>boolean</>, <parameter>temporary</> <type>boolean</> </optional>)</function></literal>
1846918469 </entry>
1847018470 <entry>
1847118471 (<parameter>slot_name</parameter> <type>name</type>, <parameter>xlog_position</parameter> <type>pg_lsn</type>)
@@ -18478,7 +18478,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
1847818478 the <acronym>LSN</> is reserved on first connection from a streaming
1847918479 replication client. Streaming changes from a physical slot is only
1848018480 possible with the streaming-replication protocol —
18481- see <xref linkend="protocol-replication">. This function corresponds
18481+ see <xref linkend="protocol-replication">. The optional third
18482+ parameter, <parameter>temporary</>, when set to true, specifies that
18483+ the slot should not be permanently stored to disk and is only meant
18484+ for use by current session. Temporary slots are also
18485+ released upon any error. This function corresponds
1848218486 to the replication protocol command <literal>CREATE_REPLICATION_SLOT
1848318487 ... PHYSICAL</literal>.
1848418488 </entry>
@@ -18505,15 +18509,19 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
1850518509 <indexterm>
1850618510 <primary>pg_create_logical_replication_slot</primary>
1850718511 </indexterm>
18508- <literal><function>pg_create_logical_replication_slot(<parameter>slot_name</parameter> <type>name</type>, <parameter>plugin</parameter> <type>name</type>)</function></literal>
18512+ <literal><function>pg_create_logical_replication_slot(<parameter>slot_name</parameter> <type>name</type>, <parameter>plugin</parameter> <type>name</type> <optional>, <parameter>temporary</> <type>boolean</></optional> )</function></literal>
1850918513 </entry>
1851018514 <entry>
1851118515 (<parameter>slot_name</parameter> <type>name</type>, <parameter>xlog_position</parameter> <type>pg_lsn</type>)
1851218516 </entry>
1851318517 <entry>
1851418518 Creates a new logical (decoding) replication slot named
1851518519 <parameter>slot_name</parameter> using the output plugin
18516- <parameter>plugin</parameter>. A call to this function has the same
18520+ <parameter>plugin</parameter>. The optional third
18521+ parameter, <parameter>temporary</>, when set to true, specifies that
18522+ the slot should not be permanently stored to disk and is only meant
18523+ for use by current session. Temporary slots are also
18524+ released upon any error. A call to this function has the same
1851718525 effect as the replication protocol command
1851818526 <literal>CREATE_REPLICATION_SLOT ... LOGICAL</literal>.
1851918527 </entry>
0 commit comments