@@ -17228,7 +17228,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17228
17228
in <xref linkend="functions-replication-table"> are for
17229
17229
controlling and interacting with replication features.
17230
17230
See <xref linkend="streaming-replication">,
17231
- <xref linkend="streaming-replication-slots">, <xref linkend="replication-origins">
17231
+ <xref linkend="streaming-replication-slots">, and
17232
+ <xref linkend="replication-origins">
17232
17233
for information about the underlying features. Use of these
17233
17234
functions is restricted to superusers.
17234
17235
</para>
@@ -17239,9 +17240,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17239
17240
</para>
17240
17241
17241
17242
<para>
17242
- The functions described in <xref linkend="functions-snapshot-synchronization">, <xref
17243
- linkend="functions-recovery-control">, and <xref
17244
- linkend="functions-admin-backup"> are also relevant for replication.
17243
+ The functions described in
17244
+ <xref linkend="functions-admin-backup">,
17245
+ <xref linkend="functions-recovery-control">, and
17246
+ <xref linkend="functions-snapshot-synchronization">
17247
+ are also relevant for replication.
17245
17248
</para>
17246
17249
17247
17250
<table id="functions-replication-table">
@@ -17401,11 +17404,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17401
17404
<literal><function>pg_replication_origin_create(<parameter>node_name</parameter> <type>text</type>)</function></literal>
17402
17405
</entry>
17403
17406
<entry>
17404
- <parameter>internal_id</parameter> < type>oid</type>
17407
+ <type>oid</type>
17405
17408
</entry>
17406
17409
<entry>
17407
- Create a replication origin with the passed in external
17408
- name, and create an internal id for it.
17410
+ Create a replication origin with the given external
17411
+ name, and return the internal id assigned to it.
17409
17412
</entry>
17410
17413
</row>
17411
17414
@@ -17420,7 +17423,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17420
17423
void
17421
17424
</entry>
17422
17425
<entry>
17423
- Delete a previously created replication origin, including the
17426
+ Delete a previously created replication origin, including any
17424
17427
associated replay progress.
17425
17428
</entry>
17426
17429
</row>
@@ -17433,10 +17436,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17433
17436
<literal><function>pg_replication_origin_oid(<parameter>node_name</parameter> <type>text</type>)</function></literal>
17434
17437
</entry>
17435
17438
<entry>
17436
- <parameter>internal_id</parameter> < type>oid</type>
17439
+ <type>oid</type>
17437
17440
</entry>
17438
17441
<entry>
17439
- Lookup replication origin by name and return the internal id. If no
17442
+ Lookup a replication origin by name and return the internal id. If no
17440
17443
corresponding replication origin is found an error is thrown.
17441
17444
</entry>
17442
17445
</row>
@@ -17452,7 +17455,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17452
17455
void
17453
17456
</entry>
17454
17457
<entry>
17455
- Configure the current session to be replaying from the passed in
17458
+ Mark the current session as replaying from the given
17456
17459
origin, allowing replay progress to be tracked. Use
17457
17460
<function>pg_replication_origin_session_reset</function> to revert.
17458
17461
Can only be used if no previous origin is configured.
@@ -17483,7 +17486,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17483
17486
<literal><function>pg_replication_origin_session_is_setup()</function></literal>
17484
17487
</entry>
17485
17488
<entry>
17486
- bool
17489
+ <type> bool</type>
17487
17490
</entry>
17488
17491
<entry>
17489
17492
Has a replication origin been configured in the current session?
@@ -17498,7 +17501,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17498
17501
<literal><function>pg_replication_origin_session_progress(<parameter>flush</parameter> <type>bool</type>)</function></literal>
17499
17502
</entry>
17500
17503
<entry>
17501
- pg_lsn
17504
+ <type> pg_lsn</type>
17502
17505
</entry>
17503
17506
<entry>
17504
17507
Return the replay position for the replication origin configured in
@@ -17519,8 +17522,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17519
17522
void
17520
17523
</entry>
17521
17524
<entry>
17522
- Mark the current transaction to be replaying a transaction that has
17523
- committed at the passed in <acronym>LSN</acronym> and timestamp. Can
17525
+ Mark the current transaction as replaying a transaction that has
17526
+ committed at the given <acronym>LSN</acronym> and timestamp. Can
17524
17527
only be called when a replication origin has previously been
17525
17528
configured using
17526
17529
<function>pg_replication_origin_session_setup()</function>.
@@ -17554,7 +17557,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17554
17557
void
17555
17558
</entry>
17556
17559
<entry>
17557
- Set replication progress for the passed in node to the passed in
17560
+ Set replication progress for the given node to the given
17558
17561
position. This primarily is useful for setting up the initial position
17559
17562
or a new position after configuration changes and similar. Be aware
17560
17563
that careless use of this function can lead to inconsistently
@@ -17570,10 +17573,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17570
17573
<literal><function>pg_replication_origin_progress(<parameter>node_name</parameter> <type>text</type>, <parameter>flush</parameter> <type>bool</type>)</function></literal>
17571
17574
</entry>
17572
17575
<entry>
17573
- pg_lsn
17576
+ <type> pg_lsn</type>
17574
17577
</entry>
17575
17578
<entry>
17576
- Return the replay position for the passed in replication origin. The
17579
+ Return the replay position for the given replication origin. The
17577
17580
parameter <parameter>flush</parameter> determines whether the
17578
17581
corresponding local transaction will be guaranteed to have been
17579
17582
flushed to disk or not.
0 commit comments