Update code comments for pg_xlog -> pg_wal

Author: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
Peter Eisentraut 2017-06-30 14:40:50 -04:00
parent 609fa63db6
commit 4260c05c6d
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@
#define ZLIB_OUT_SIZE 4096
/*-------------------------------------------------------------------------
* WalDirectoryMethod - write wal to a directory looking like pg_xlog
* WalDirectoryMethod - write wal to a directory looking like pg_wal
*-------------------------------------------------------------------------
*/
@ -375,7 +375,7 @@ FreeWalDirectoryMethod(void)
/*-------------------------------------------------------------------------
* WalTarMethod - write wal to a tar file containing pg_xlog contents
* WalTarMethod - write wal to a tar file containing pg_wal contents
*-------------------------------------------------------------------------
*/

View File

@ -80,8 +80,8 @@ struct WalWriteMethod
/*
* Available WAL methods:
* - WalDirectoryMethod - write WAL to regular files in a standard pg_xlog
* - TarDirectoryMethod - write WAL to a tarfile corresponding to pg_xlog
* - WalDirectoryMethod - write WAL to regular files in a standard pg_wal
* - TarDirectoryMethod - write WAL to a tarfile corresponding to pg_wal
* (only implements the methods required for pg_basebackup,
* not all those required for pg_receivewal)
*/