You've already forked pgbackrest
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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user