@@ -18466,21 +18466,21 @@ SELECT set_config('log_statement_stats', 'off', false);
1846618466 <literal><function>pg_current_wal_flush_lsn()</function></literal>
1846718467 </entry>
1846818468 <entry><type>pg_lsn</type></entry>
18469- <entry>Get currenttransaction log flush location</entry>
18469+ <entry>Get currentwrite-ahead log flush location</entry>
1847018470 </row>
1847118471 <row>
1847218472 <entry>
1847318473 <literal><function>pg_current_wal_insert_lsn()</function></literal>
1847418474 </entry>
1847518475 <entry><type>pg_lsn</type></entry>
18476- <entry>Get currenttransaction log insert location</entry>
18476+ <entry>Get currentwrite-ahead log insert location</entry>
1847718477 </row>
1847818478 <row>
1847918479 <entry>
1848018480 <literal><function>pg_current_wal_lsn()</function></literal>
1848118481 </entry>
1848218482 <entry><type>pg_lsn</type></entry>
18483- <entry>Get currenttransaction log write location</entry>
18483+ <entry>Get currentwrite-ahead log write location</entry>
1848418484 </row>
1848518485 <row>
1848618486 <entry>
@@ -18522,28 +18522,28 @@ SELECT set_config('log_statement_stats', 'off', false);
1852218522 <literal><function>pg_switch_wal()</function></literal>
1852318523 </entry>
1852418524 <entry><type>pg_lsn</type></entry>
18525- <entry>Force switch to a newtransaction log file (restricted to superusers by default, but other users can be granted EXECUTE to run the function)</entry>
18525+ <entry>Force switch to a newwrite-ahead log file (restricted to superusers by default, but other users can be granted EXECUTE to run the function)</entry>
1852618526 </row>
1852718527 <row>
1852818528 <entry>
1852918529 <literal><function>pg_walfile_name(<parameter>lsn</> <type>pg_lsn</>)</function></literal>
1853018530 </entry>
1853118531 <entry><type>text</type></entry>
18532- <entry>Converttransaction log location to file name</entry>
18532+ <entry>Convertwrite-ahead log location to file name</entry>
1853318533 </row>
1853418534 <row>
1853518535 <entry>
1853618536 <literal><function>pg_walfile_name_offset(<parameter>lsn</> <type>pg_lsn</>)</function></literal>
1853718537 </entry>
1853818538 <entry><type>text</>, <type>integer</></entry>
18539- <entry>Converttransaction log location to file name and decimal byte offset within file</entry>
18539+ <entry>Convertwrite-ahead log location to file name and decimal byte offset within file</entry>
1854018540 </row>
1854118541 <row>
1854218542 <entry>
1854318543 <literal><function>pg_wal_lsn_diff(<parameter>lsn</> <type>pg_lsn</>, <parameter>lsn</> <type>pg_lsn</>)</function></literal>
1854418544 </entry>
1854518545 <entry><type>numeric</></entry>
18546- <entry>Calculate the difference between twotransaction log locations</entry>
18546+ <entry>Calculate the difference between twowrite-ahead log locations</entry>
1854718547 </row>
1854818548 </tbody>
1854918549 </tgroup>
@@ -18556,7 +18556,7 @@ SELECT set_config('log_statement_stats', 'off', false);
1855618556 backup label file (<filename>backup_label</>) and, if there are any links
1855718557 in the <filename>pg_tblspc/</> directory, a tablespace map file
1855818558 (<filename>tablespace_map</>) into the database cluster's data directory,
18559- performs a checkpoint, and then returns the backup's startingtransaction
18559+ performs a checkpoint, and then returns the backup's startingwrite-ahead
1856018560 log location as text. The user can ignore this result value, but it is
1856118561 provided in case it is useful. When used in non-exclusive mode, the
1856218562 contents of these files are instead returned by the
@@ -18592,55 +18592,55 @@ postgres=# select pg_start_backup('label_goes_here');
1859218592 </para>
1859318593
1859418594 <para>
18595- The function also creates a backup history file in thetransaction log
18595+ The function also creates a backup history file in thewrite-ahead log
1859618596 archive area. The history file includes the label given to
18597- <function>pg_start_backup</>, the starting and endingtransaction log locations for
18597+ <function>pg_start_backup</>, the starting and endingwrite-ahead log locations for
1859818598 the backup, and the starting and ending times of the backup. The return
18599- value is the backup's endingtransaction log location (which again
18599+ value is the backup's endingwrite-ahead log location (which again
1860018600 can be ignored). After recording the ending location, the current
18601- transaction log insertion
18602- point is automatically advanced to the nexttransaction log file, so that the
18603- endingtransaction log file can be archived immediately to complete the backup.
18601+ write-ahead log insertion
18602+ point is automatically advanced to the nextwrite-ahead log file, so that the
18603+ endingwrite-ahead log file can be archived immediately to complete the backup.
1860418604 </para>
1860518605
1860618606 <para>
18607- <function>pg_switch_wal</> moves to the nexttransaction log file, allowing the
18607+ <function>pg_switch_wal</> moves to the nextwrite-ahead log file, allowing the
1860818608 current file to be archived (assuming you are using continuous archiving).
18609- The return value is the endingtransaction log location + 1 within the just-completedtransaction log file.
18610- If there has been notransaction log activity since the lasttransaction log switch,
18609+ The return value is the endingwrite-ahead log location + 1 within the just-completedwrite-ahead log file.
18610+ If there has been nowrite-ahead log activity since the lastwrite-ahead log switch,
1861118611 <function>pg_switch_wal</> does nothing and returns the start location
18612- of thetransaction log file currently in use.
18612+ of thewrite-ahead log file currently in use.
1861318613 </para>
1861418614
1861518615 <para>
18616- <function>pg_create_restore_point</> creates a namedtransaction log
18616+ <function>pg_create_restore_point</> creates a namedwrite-ahead log
1861718617 record that can be used as recovery target, and returns the corresponding
18618- transaction log location. The given name can then be used with
18618+ write-ahead log location. The given name can then be used with
1861918619 <xref linkend="recovery-target-name"> to specify the point up to which
1862018620 recovery will proceed. Avoid creating multiple restore points with the
1862118621 same name, since recovery will stop at the first one whose name matches
1862218622 the recovery target.
1862318623 </para>
1862418624
1862518625 <para>
18626- <function>pg_current_wal_lsn</> displays the currenttransaction log write
18626+ <function>pg_current_wal_lsn</> displays the currentwrite-ahead log write
1862718627 location in the same format used by the above functions. Similarly,
18628- <function>pg_current_wal_insert_lsn</> displays the currenttransaction log
18628+ <function>pg_current_wal_insert_lsn</> displays the currentwrite-ahead log
1862918629 insertion location and <function>pg_current_wal_flush_lsn</> displays the
18630- currenttransaction log flush location. The insertion location is the <quote>logical</>
18630+ currentwrite-ahead log flush location. The insertion location is the <quote>logical</>
1863118631 end of the transaction log at any instant, while the write location is the end of
1863218632 what has actually been written out from the server's internal buffers and flush
1863318633 location is the location guaranteed to be written to durable storage. The write
1863418634 location is the end of what can be examined from outside the server, and is usually
18635- what you want if you are interested in archiving partially-completetransaction log
18635+ what you want if you are interested in archiving partially-completewrite-ahead log
1863618636 files. The insertion and flush locations are made available primarily for server
1863718637 debugging purposes. These are both read-only operations and do not
1863818638 require superuser permissions.
1863918639 </para>
1864018640
1864118641 <para>
1864218642 You can use <function>pg_walfile_name_offset</> to extract the
18643- correspondingtransaction log file name and byte offset from the results of any of the
18643+ correspondingwrite-ahead log file name and byte offset from the results of any of the
1864418644 above functions. For example:
1864518645<programlisting>
1864618646postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
@@ -18649,17 +18649,17 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
1864918649 00000001000000000000000D | 4039624
1865018650(1 row)
1865118651</programlisting>
18652- Similarly, <function>pg_walfile_name</> extracts just thetransaction log file name.
18653- When the giventransaction log location is exactly at atransaction log file boundary, both
18654- these functions return the name of the precedingtransaction log file.
18655- This is usually the desired behavior for managingtransaction log archiving
18652+ Similarly, <function>pg_walfile_name</> extracts just thewrite-ahead log file name.
18653+ When the givenwrite-ahead log location is exactly at awrite-ahead log file boundary, both
18654+ these functions return the name of the precedingwrite-ahead log file.
18655+ This is usually the desired behavior for managingwrite-ahead log archiving
1865618656 behavior, since the preceding file is the last one that currently
1865718657 needs to be archived.
1865818658 </para>
1865918659
1866018660 <para>
1866118661 <function>pg_wal_lsn_diff</> calculates the difference in bytes
18662- between twotransaction log locations. It can be used with
18662+ between twowrite-ahead log locations. It can be used with
1866318663 <structname>pg_stat_replication</structname> or some functions shown in
1866418664 <xref linkend="functions-admin-backup-table"> to get the replication lag.
1866518665 </para>
@@ -18716,7 +18716,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
1871618716 <literal><function>pg_last_wal_receive_lsn()</function></literal>
1871718717 </entry>
1871818718 <entry><type>pg_lsn</type></entry>
18719- <entry>Get lasttransaction log location received and synced to disk by
18719+ <entry>Get lastwrite-ahead log location received and synced to disk by
1872018720 streaming replication. While streaming replication is in progress
1872118721 this will increase monotonically. If recovery has completed this will
1872218722 remain static at
@@ -18730,7 +18730,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
1873018730 <literal><function>pg_last_wal_replay_lsn()</function></literal>
1873118731 </entry>
1873218732 <entry><type>pg_lsn</type></entry>
18733- <entry>Get lasttransaction log location replayed during recovery.
18733+ <entry>Get lastwrite-ahead log location replayed during recovery.
1873418734 If recovery is still in progress this will increase monotonically.
1873518735 If recovery has completed then this value will remain static at
1873618736 the value of the last WAL record applied during that recovery.