postgresql/src/include
Robert Haas dc21234005 Add support for incremental backup.
To take an incremental backup, you use the new replication command
UPLOAD_MANIFEST to upload the manifest for the prior backup. This
prior backup could either be a full backup or another incremental
backup.  You then use BASE_BACKUP with the INCREMENTAL option to take
the backup.  pg_basebackup now has an --incremental=PATH_TO_MANIFEST
option to trigger this behavior.

An incremental backup is like a regular full backup except that
some relation files are replaced with files with names like
INCREMENTAL.${ORIGINAL_NAME}, and the backup_label file contains
additional lines identifying it as an incremental backup. The new
pg_combinebackup tool can be used to reconstruct a data directory
from a full backup and a series of incremental backups.

Patch by me.  Reviewed by Matthias van de Meent, Dilip Kumar, Jakub
Wartak, Peter Eisentraut, and Álvaro Herrera. Thanks especially to
Jakub for incredibly helpful and extensive testing.

Discussion: http://postgr.es/m/CA+TgmoYOYZfMCyOXFyC-P+-mdrZqm5pP2N7S-r0z3_402h9rsA@mail.gmail.com
2023-12-20 09:49:12 -05:00
..
access Add support for incremental backup. 2023-12-20 09:49:12 -05:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Add support for incremental backup. 2023-12-20 09:49:12 -05:00
bootstrap Stop including parsenodes.h in plannodes.h 2023-11-07 19:26:39 +01:00
catalog Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
commands Fix bugs in manipulation of large objects. 2023-12-15 13:55:05 -05:00
common Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
datatype Support +/- infinity in the interval data type. 2023-11-14 10:58:49 +00:00
executor Verify that attribute counts match in ExecCopySlot 2023-12-07 21:28:24 +13:00
fe_utils Avoid overflow in fe_utils' printTable() 2023-11-21 14:55:29 +01:00
foreign Update copyright for 2023 2023-01-02 15:00:37 -05:00
jit jit: Supply LLVMGlobalGetValueType() for LLVM < 8. 2023-10-19 03:01:55 +13:00
lib simplehash: preserve consistency in case of OOM. 2023-11-17 13:58:16 -08:00
libpq Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
mb Restore proper linkage of pg_char_to_encoding() and friends. 2023-10-07 12:08:10 -04:00
nodes Add support for incremental backup. 2023-12-20 09:49:12 -05:00
optimizer Prevent integer overflow when forming tuple width estimates. 2023-12-19 11:12:16 -05:00
parser Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
partitioning Add const to values and nulls arguments 2023-10-10 07:50:43 +02:00
pch Update copyright for 2023 2023-01-02 15:00:37 -05:00
port Optimize pg_atomic_exchange_u32 and pg_atomic_exchange_u64. 2023-12-18 10:53:32 -06:00
portability instr_time: Represent time as an int64 on all platforms 2023-01-20 21:16:47 -08:00
postmaster Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
regex Fix various typos 2023-04-18 13:23:23 +12:00
replication Remove unnecessary include of <sys/socket.h> 2023-12-04 06:35:22 +01:00
rewrite Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
snowball Update copyright for 2023 2023-01-02 15:00:37 -05:00
statistics Add macro for maximum statistics target 2023-07-03 07:18:57 +02:00
storage Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
tcop Add support for REINDEX in event triggers 2023-12-04 09:53:49 +09:00
tsearch Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
utils Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
c.h Simplify newNode() by removing special cases 2023-12-19 12:11:47 +02:00
fmgr.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
funcapi.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
getopt_long.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
miscadmin.h Add a new WAL summarizer process. 2023-12-20 08:42:28 -05:00
pg_config.h.in Use BIO_{get,set}_app_data instead of BIO_{get,set}_data. 2023-11-28 12:34:03 -05:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.meson meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
pg_config_manual.h Update PG_CACHE_LINE_SIZE description. 2023-07-03 11:56:30 +03:00
pg_getopt.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_trace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat.h Refactor pgstat_prepare_io_time() with an input argument instead of a GUC 2023-12-16 20:16:20 +01:00
pgtar.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
pgtime.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
port.h Rename port/thread.c to port/user.c. 2023-07-09 18:17:09 +12:00
postgres.h New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
postgres_ext.h Move RelFileNumber declarations to common/relpath.h. 2022-09-27 12:01:57 -04:00
postgres_fe.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
varatt.h New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
windowapi.h Update copyright for 2023 2023-01-02 15:00:37 -05:00