1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Add pgWalPath() to return version-specific WAL path.

Also update the manifest module to use the new function.
This commit is contained in:
David Steele
2019-12-12 16:11:09 -05:00
parent 94cb9540f1
commit 676be2c773
4 changed files with 23 additions and 2 deletions

View File

@ -137,6 +137,9 @@ const String *pgLsnName(unsigned int pgVersion);
const String *pgWalName(unsigned int pgVersion);
// Get wal path (this was changed in PostgreSQL 10 to avoid including "log" in the name)
const String *pgWalPath(unsigned int pgVersion);
// Get transaction commit log path (this was changed in PostgreSQL 10 to avoid including "log" in the name)
const String *pgXactPath(unsigned int pgVersion);