1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-20 01:17:49 +02:00

Flag pg-host-config-include-path and pg-host-config-path as required.

These options had defaults so this doesn't really change anything but it does prevent some difficult to explain churn in a future commit.
This commit is contained in:
David Steele
2025-05-06 14:12:38 -04:00
parent e38e3e0090
commit d45da0363e
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -1550,12 +1550,14 @@ option:
type: path
default: CFGOPTDEF_CONFIG_PATH "/" PROJECT_CONFIG_INCLUDE_PATH
default-literal: true
required: true
pg-host-config-path:
inherit: pg-host-cmd
type: path
default: CFGOPTDEF_CONFIG_PATH
default-literal: true
required: true
pg-host-port:
inherit: pg-host-cmd
+2 -2
View File
@@ -3954,7 +3954,7 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
PARSE_RULE_OPTION_NAME("pg-host-config-include-path"), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_TYPE(Path), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_RESET(true), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_REQUIRED(false), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_REQUIRED(true), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_SECTION(Stanza), // opt/pg-host-config-include-path
PARSE_RULE_OPTION_GROUP_ID(Pg), // opt/pg-host-config-include-path
// opt/pg-host-config-include-path
@@ -3995,7 +3995,7 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
PARSE_RULE_OPTION_NAME("pg-host-config-path"), // opt/pg-host-config-path
PARSE_RULE_OPTION_TYPE(Path), // opt/pg-host-config-path
PARSE_RULE_OPTION_RESET(true), // opt/pg-host-config-path
PARSE_RULE_OPTION_REQUIRED(false), // opt/pg-host-config-path
PARSE_RULE_OPTION_REQUIRED(true), // opt/pg-host-config-path
PARSE_RULE_OPTION_SECTION(Stanza), // opt/pg-host-config-path
PARSE_RULE_OPTION_GROUP_ID(Pg), // opt/pg-host-config-path
// opt/pg-host-config-path