mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Consistently spell a replication slot's name as slot_name.
Previously there's been a mix between 'slotname' and 'slot_name'. It's
not nice to be unneccessarily inconsistent in a new feature. As a post
beta1 initdb now is required in the wake of eeca4cd35e
, fix the
inconsistencies.
Most the changes won't affect usage of replication slots because the
majority of changes is around function parameter names. The prominent
exception to that is that the recovery.conf parameter
'primary_slotname' is now named 'primary_slot_name'.
This commit is contained in:
@ -54,7 +54,7 @@
|
||||
<programlisting>
|
||||
postgres=# -- Create a slot named 'regression_slot' using the output plugin 'test_decoding'
|
||||
postgres=# SELECT * FROM pg_create_logical_replication_slot('regression_slot', 'test_decoding');
|
||||
slotname | xlog_position
|
||||
slot_name | xlog_position
|
||||
-----------------+---------------
|
||||
regression_slot | 0/16B1970
|
||||
(1 row)
|
||||
@ -256,9 +256,9 @@ CTRL-C
|
||||
<sect1 id="logicaldecoding-walsender">
|
||||
<title>Streaming Replication Protocol Interface</title>
|
||||
<para>
|
||||
The <literal>CREATE_REPLICATION_SLOT slotname LOGICAL
|
||||
options</literal>, <literal>DROP_REPLICATION_SLOT slotname</literal>
|
||||
and <literal>START_REPLICATION SLOT slotname LOGICAL options</literal>
|
||||
The <literal>CREATE_REPLICATION_SLOT slot_name LOGICAL
|
||||
options</literal>, <literal>DROP_REPLICATION_SLOT slot_name</literal>
|
||||
and <literal>START_REPLICATION SLOT slot_name LOGICAL options</literal>
|
||||
commands can be used to create, drop and stream changes from a replication
|
||||
slot respectively. These commands are only available over a replication
|
||||
connection; they cannot be used via SQL.
|
||||
|
Reference in New Issue
Block a user