@@ -17192,7 +17192,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17192
17192
in <xref linkend="functions-replication-table"> are for
17193
17193
controlling and interacting with replication features.
17194
17194
See <xref linkend="streaming-replication">,
17195
- <xref linkend="streaming-replication-slots">, <xref linkend="replication-origins">
17195
+ <xref linkend="streaming-replication-slots">, and
17196
+ <xref linkend="replication-origins">
17196
17197
for information about the underlying features. Use of these
17197
17198
functions is restricted to superusers.
17198
17199
</para>
@@ -17203,9 +17204,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17203
17204
</para>
17204
17205
17205
17206
<para>
17206
- The functions described in <xref linkend="functions-snapshot-synchronization">, <xref
17207
- linkend="functions-recovery-control">, and <xref
17208
- linkend="functions-admin-backup"> are also relevant for replication.
17207
+ The functions described in
17208
+ <xref linkend="functions-admin-backup">,
17209
+ <xref linkend="functions-recovery-control">, and
17210
+ <xref linkend="functions-snapshot-synchronization">
17211
+ are also relevant for replication.
17209
17212
</para>
17210
17213
17211
17214
<table id="functions-replication-table">
@@ -17360,11 +17363,11 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17360
17363
<literal><function>pg_replication_origin_create(<parameter>node_name</parameter> <type>text</type>)</function></literal>
17361
17364
</entry>
17362
17365
<entry>
17363
- <parameter>internal_id</parameter> < type>oid</type>
17366
+ <type>oid</type>
17364
17367
</entry>
17365
17368
<entry>
17366
- Create a replication origin with thepassed in external
17367
- name, andcreate an internal idfor it.
17369
+ Create a replication origin with thegiven external
17370
+ name, andreturn the internal idassigned to it.
17368
17371
</entry>
17369
17372
</row>
17370
17373
@@ -17379,7 +17382,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17379
17382
void
17380
17383
</entry>
17381
17384
<entry>
17382
- Delete a previously created replication origin, includingthe
17385
+ Delete a previously created replication origin, includingany
17383
17386
associated replay progress.
17384
17387
</entry>
17385
17388
</row>
@@ -17392,10 +17395,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17392
17395
<literal><function>pg_replication_origin_oid(<parameter>node_name</parameter> <type>text</type>)</function></literal>
17393
17396
</entry>
17394
17397
<entry>
17395
- <parameter>internal_id</parameter> < type>oid</type>
17398
+ <type>oid</type>
17396
17399
</entry>
17397
17400
<entry>
17398
- Lookup replication origin by name and return the internal id. If no
17401
+ Lookupa replication origin by name and return the internal id. If no
17399
17402
corresponding replication origin is found an error is thrown.
17400
17403
</entry>
17401
17404
</row>
@@ -17411,7 +17414,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17411
17414
void
17412
17415
</entry>
17413
17416
<entry>
17414
- Configure the current sessionto be replaying from thepassed in
17417
+ Mark the current sessionas replaying from thegiven
17415
17418
origin, allowing replay progress to be tracked. Use
17416
17419
<function>pg_replication_origin_session_reset</function> to revert.
17417
17420
Can only be used if no previous origin is configured.
@@ -17442,7 +17445,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17442
17445
<literal><function>pg_replication_origin_session_is_setup()</function></literal>
17443
17446
</entry>
17444
17447
<entry>
17445
- bool
17448
+ <type> bool</type>
17446
17449
</entry>
17447
17450
<entry>
17448
17451
Has a replication origin been configured in the current session?
@@ -17457,7 +17460,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17457
17460
<literal><function>pg_replication_origin_session_progress(<parameter>flush</parameter> <type>bool</type>)</function></literal>
17458
17461
</entry>
17459
17462
<entry>
17460
- pg_lsn
17463
+ <type> pg_lsn</type>
17461
17464
</entry>
17462
17465
<entry>
17463
17466
Return the replay position for the replication origin configured in
@@ -17478,8 +17481,8 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17478
17481
void
17479
17482
</entry>
17480
17483
<entry>
17481
- Mark the current transactionto be replaying a transaction that has
17482
- committed at thepassed in <acronym>LSN</acronym> and timestamp. Can
17484
+ Mark the current transactionas replaying a transaction that has
17485
+ committed at thegiven <acronym>LSN</acronym> and timestamp. Can
17483
17486
only be called when a replication origin has previously been
17484
17487
configured using
17485
17488
<function>pg_replication_origin_session_setup()</function>.
@@ -17513,7 +17516,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17513
17516
void
17514
17517
</entry>
17515
17518
<entry>
17516
- Set replication progress for thepassed in node to thepassed in
17519
+ Set replication progress for thegiven node to thegiven
17517
17520
position. This primarily is useful for setting up the initial position
17518
17521
or a new position after configuration changes and similar. Be aware
17519
17522
that careless use of this function can lead to inconsistently
@@ -17529,10 +17532,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
17529
17532
<literal><function>pg_replication_origin_progress(<parameter>node_name</parameter> <type>text</type>, <parameter>flush</parameter> <type>bool</type>)</function></literal>
17530
17533
</entry>
17531
17534
<entry>
17532
- pg_lsn
17535
+ <type> pg_lsn</type>
17533
17536
</entry>
17534
17537
<entry>
17535
- Return the replay position for thepassed in replication origin. The
17538
+ Return the replay position for thegiven replication origin. The
17536
17539
parameter <parameter>flush</parameter> determines whether the
17537
17540
corresponding local transaction will be guaranteed to have been
17538
17541
flushed to disk or not.