postgresql/src/backend
Andrew Dunstan 72d422a522 Map basebackup tablespaces using a tablespace_map file
Windows can't reliably restore symbolic links from a tar format, so
instead during backup start we create a tablespace_map file, which is
used by the restoring postgres to create the correct links in pg_tblspc.
The backup protocol also now has an option to request this file to be
included in the backup stream, and this is used by pg_basebackup when
operating in tar mode.

This is done on all platforms, not just Windows.

This means that pg_basebackup will not not work in tar mode against 9.4
and older servers, as this protocol option isn't implemented there.

Amit Kapila, reviewed by Dilip Kumar, with a little editing from me.
2015-05-12 09:29:10 -04:00
..
access Map basebackup tablespaces using a tablespace_map file 2015-05-12 09:29:10 -04:00
bootstrap Add new OID alias type regnamespace 2015-05-09 13:36:52 -04:00
catalog Replace some appendStringInfo* calls with more appropriate variants 2015-05-11 20:38:55 -04:00
commands Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
executor Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
foreign Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Fix a bug in pairing heap removal code. 2015-02-17 22:55:53 +02:00
libpq Change default for include_realm to 1 2015-05-08 19:39:42 -04:00
main Don't require users of src/port/gettimeofday.c to initialize it. 2015-02-21 12:17:04 -05:00
nodes Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
optimizer Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
parser Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
po Translation updates 2015-02-01 23:23:40 -05:00
port Remove the option to service interrupts during PGSemaphoreLock(). 2015-02-03 23:25:00 +01:00
postmaster Teach autovacuum about multixact member wraparound. 2015-05-08 12:53:00 -04:00
regex Replace a bunch more uses of strncpy() with safer coding. 2015-01-24 13:05:42 -05:00
replication Map basebackup tablespaces using a tablespace_map file 2015-05-12 09:29:10 -04:00
rewrite Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE. 2015-05-08 05:43:10 +02:00
snowball Update copyright for 2015 2015-01-06 11:43:47 -05:00
storage Remove reference to src/tools/backend/index.html 2015-05-08 07:14:18 -04:00
tcop Allow on-the-fly capture of DDL event details 2015-05-11 19:14:31 -03:00
tsearch Define integer limits independently from the system definitions. 2015-04-02 17:43:35 +02:00
utils Replace some appendStringInfo* calls with more appropriate variants 2015-05-11 20:38:55 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Update copyright for 2015 2015-01-06 11:43:47 -05:00
nls.mk Translation updates 2015-02-01 23:23:40 -05:00