diff options
Diffstat (limited to 'src/include/postmaster/pgarch.h')
-rw-r--r-- | src/include/postmaster/pgarch.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/postmaster/pgarch.h b/src/include/postmaster/pgarch.h index 44582bb7185..482546c1854 100644 --- a/src/include/postmaster/pgarch.h +++ b/src/include/postmaster/pgarch.h @@ -14,6 +14,19 @@ #define _PGARCH_H /* ---------- + * Archiver control info. + * + * We expect that archivable files within pg_xlog will have names between + * MIN_XFN_CHARS and MAX_XFN_CHARS in length, consisting only of characters + * appearing in VALID_XFN_CHARS. The status files in archive_status have + * corresponding names with ".ready" or ".done" appended. + * ---------- + */ +#define MIN_XFN_CHARS 16 +#define MAX_XFN_CHARS 40 +#define VALID_XFN_CHARS "0123456789ABCDEF.history.backup" + +/* ---------- * Functions called from postmaster * ---------- */ |