postgresql/src
Magnus Hagander 56c7d8d455 Allow pg_basebackup to stream transaction log in tar mode
This will write the received transaction log into a file called
pg_wal.tar(.gz) next to the other tarfiles instead of writing it to
base.tar. When using fetch mode, the transaction log is still written to
base.tar like before, and when used against a pre-10 server, the file
is named pg_xlog.tar.

To do this, implement a new concept of a "walmethod", which is
responsible for writing the WAL. Two implementations exist, one that
writes to a plain directory (which is also used by pg_receivexlog) and
one that writes to a tar file with optional compression.

Reviewed by Michael Paquier
2016-10-23 15:23:11 +02:00
..
backend Fix comment formatting. 2016-10-21 12:04:21 -04:00
bin Allow pg_basebackup to stream transaction log in tar mode 2016-10-23 15:23:11 +02:00
common Rename "pg_xlog" directory to "pg_wal". 2016-10-20 11:32:18 -04:00
fe_utils Teach appendShellString() to not quote strings containing "-". 2016-09-06 14:53:31 -04:00
include Allow pg_basebackup to stream transaction log in tar mode 2016-10-23 15:23:11 +02:00
interfaces Remove a comment which is now incorrect. 2016-10-20 10:24:51 -04:00
makefiles Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
pl Fix further hash table order dependent tests. 2016-10-12 18:31:45 -07:00
port Allow pg_basebackup to stream transaction log in tar mode 2016-10-23 15:23:11 +02:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Use pg_ctl promote -w in TAP tests 2016-10-19 09:18:50 -04:00
timezone Sync our copy of the timezone library with IANA release tzcode2016h. 2016-10-20 15:40:07 -04:00
tools Revert "Replace PostmasterRandom() with a stronger way of generating randomness." 2016-10-18 16:28:23 +03:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore
bcc32.mak
DEVELOPERS
Makefile Install TAP test infrastructure so it's available for extension testing. 2016-09-23 15:50:00 -04:00
Makefile.global.in Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
Makefile.shlib Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak