diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2018-03-23 19:14:12 +0300 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2018-03-23 19:14:12 +0300 |
commit | 8694cc96b52a967a49725f32be7aa77fd3b6ac25 (patch) | |
tree | 4f901f1b090f18fe8e355ad7897b76f41d5f6742 /doc/src | |
parent | 7ba7986fb4364e889a705c9973fefa138650091c (diff) |
Exclude unlogged tables from base backups
Exclude unlogged tables from base backup entirely except init fork which marks
created unlogged table. The next question is do not backup temp table but
it's a story for separate patch.
Author: David Steele
Review by: Adam Brightwell, Masahiko Sawada
Discussion: https://www.postgresql.org/message-id/flat/04791bab-cb04-ba43-e9c0-664a4c1ffb2c@pgmasters.net
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/protocol.sgml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 366b6842934..472bd3ef693 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -2570,6 +2570,12 @@ The commands accepted in replication mode are: </listitem> <listitem> <para> + Unlogged relations, except for the init fork which is required to + recreate the (empty) unlogged relation on recovery. + </para> + </listitem> + <listitem> + <para> <filename>pg_wal</filename>, including subdirectories. If the backup is run with WAL files included, a synthesized version of <filename>pg_wal</filename> will be included, but it will only contain the files necessary for the |