@@ -18466,21 +18466,21 @@ SELECT set_config('log_statement_stats', 'off', false);
18466
18466
<literal><function>pg_current_wal_flush_lsn()</function></literal>
18467
18467
</entry>
18468
18468
<entry><type>pg_lsn</type></entry>
18469
- <entry>Get currenttransaction log flush location</entry>
18469
+ <entry>Get currentwrite-ahead log flush location</entry>
18470
18470
</row>
18471
18471
<row>
18472
18472
<entry>
18473
18473
<literal><function>pg_current_wal_insert_lsn()</function></literal>
18474
18474
</entry>
18475
18475
<entry><type>pg_lsn</type></entry>
18476
- <entry>Get currenttransaction log insert location</entry>
18476
+ <entry>Get currentwrite-ahead log insert location</entry>
18477
18477
</row>
18478
18478
<row>
18479
18479
<entry>
18480
18480
<literal><function>pg_current_wal_lsn()</function></literal>
18481
18481
</entry>
18482
18482
<entry><type>pg_lsn</type></entry>
18483
- <entry>Get currenttransaction log write location</entry>
18483
+ <entry>Get currentwrite-ahead log write location</entry>
18484
18484
</row>
18485
18485
<row>
18486
18486
<entry>
@@ -18522,28 +18522,28 @@ SELECT set_config('log_statement_stats', 'off', false);
18522
18522
<literal><function>pg_switch_wal()</function></literal>
18523
18523
</entry>
18524
18524
<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>
18526
18526
</row>
18527
18527
<row>
18528
18528
<entry>
18529
18529
<literal><function>pg_walfile_name(<parameter>lsn</> <type>pg_lsn</>)</function></literal>
18530
18530
</entry>
18531
18531
<entry><type>text</type></entry>
18532
- <entry>Converttransaction log location to file name</entry>
18532
+ <entry>Convertwrite-ahead log location to file name</entry>
18533
18533
</row>
18534
18534
<row>
18535
18535
<entry>
18536
18536
<literal><function>pg_walfile_name_offset(<parameter>lsn</> <type>pg_lsn</>)</function></literal>
18537
18537
</entry>
18538
18538
<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>
18540
18540
</row>
18541
18541
<row>
18542
18542
<entry>
18543
18543
<literal><function>pg_wal_lsn_diff(<parameter>lsn</> <type>pg_lsn</>, <parameter>lsn</> <type>pg_lsn</>)</function></literal>
18544
18544
</entry>
18545
18545
<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>
18547
18547
</row>
18548
18548
</tbody>
18549
18549
</tgroup>
@@ -18556,7 +18556,7 @@ SELECT set_config('log_statement_stats', 'off', false);
18556
18556
backup label file (<filename>backup_label</>) and, if there are any links
18557
18557
in the <filename>pg_tblspc/</> directory, a tablespace map file
18558
18558
(<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
18560
18560
log location as text. The user can ignore this result value, but it is
18561
18561
provided in case it is useful. When used in non-exclusive mode, the
18562
18562
contents of these files are instead returned by the
@@ -18592,55 +18592,55 @@ postgres=# select pg_start_backup('label_goes_here');
18592
18592
</para>
18593
18593
18594
18594
<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
18596
18596
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
18598
18598
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
18600
18600
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.
18604
18604
</para>
18605
18605
18606
18606
<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
18608
18608
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,
18611
18611
<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.
18613
18613
</para>
18614
18614
18615
18615
<para>
18616
- <function>pg_create_restore_point</> creates a namedtransaction log
18616
+ <function>pg_create_restore_point</> creates a namedwrite-ahead log
18617
18617
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
18619
18619
<xref linkend="recovery-target-name"> to specify the point up to which
18620
18620
recovery will proceed. Avoid creating multiple restore points with the
18621
18621
same name, since recovery will stop at the first one whose name matches
18622
18622
the recovery target.
18623
18623
</para>
18624
18624
18625
18625
<para>
18626
- <function>pg_current_wal_lsn</> displays the currenttransaction log write
18626
+ <function>pg_current_wal_lsn</> displays the currentwrite-ahead log write
18627
18627
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
18629
18629
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</>
18631
18631
end of the transaction log at any instant, while the write location is the end of
18632
18632
what has actually been written out from the server's internal buffers and flush
18633
18633
location is the location guaranteed to be written to durable storage. The write
18634
18634
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
18636
18636
files. The insertion and flush locations are made available primarily for server
18637
18637
debugging purposes. These are both read-only operations and do not
18638
18638
require superuser permissions.
18639
18639
</para>
18640
18640
18641
18641
<para>
18642
18642
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
18644
18644
above functions. For example:
18645
18645
<programlisting>
18646
18646
postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
@@ -18649,17 +18649,17 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
18649
18649
00000001000000000000000D | 4039624
18650
18650
(1 row)
18651
18651
</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
18656
18656
behavior, since the preceding file is the last one that currently
18657
18657
needs to be archived.
18658
18658
</para>
18659
18659
18660
18660
<para>
18661
18661
<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
18663
18663
<structname>pg_stat_replication</structname> or some functions shown in
18664
18664
<xref linkend="functions-admin-backup-table"> to get the replication lag.
18665
18665
</para>
@@ -18716,7 +18716,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
18716
18716
<literal><function>pg_last_wal_receive_lsn()</function></literal>
18717
18717
</entry>
18718
18718
<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
18720
18720
streaming replication. While streaming replication is in progress
18721
18721
this will increase monotonically. If recovery has completed this will
18722
18722
remain static at
@@ -18730,7 +18730,7 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
18730
18730
<literal><function>pg_last_wal_replay_lsn()</function></literal>
18731
18731
</entry>
18732
18732
<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.
18734
18734
If recovery is still in progress this will increase monotonically.
18735
18735
If recovery has completed then this value will remain static at
18736
18736
the value of the last WAL record applied during that recovery.