1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-07 00:35:37 +02:00

Rename PG_VERSION_*_STR constants to PG_VERSION_*_Z.

This is more consistent with other zero-terminated string constants and also has the benefit of being shorter.
This commit is contained in:
David Steele
2023-04-16 17:32:24 +03:00
parent 75254c9285
commit a05bf6bb15
11 changed files with 39 additions and 40 deletions

View File

@ -1824,7 +1824,7 @@ testRun(void)
TEST_TITLE("none output, verbose, override WAL magic, with no verify failures");
hrnCfgArgRawZ(argList, cfgOptVerbose, "y");
hrnCfgArgRawZ(argList, cfgOptPgVersionForce, PG_VERSION_11_STR);
hrnCfgArgRawZ(argList, cfgOptPgVersionForce, PG_VERSION_11_Z);
HRN_CFG_LOAD(cfgCmdVerify, argList);
TEST_RESULT_STR_Z(
verifyProcess(cfgOptionBool(cfgOptVerbose)),