1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Update order of configuration options.

The upcoming C parser requires that options be in dependency order, i.e. inherited options must come before the options that inherit them.

This change has been separated to demonstrate that it does no affect the auto-generated code.
This commit is contained in:
David Steele 2021-07-18 18:31:43 -04:00
parent 6397d73535
commit 18ffec72da

View File

@ -1223,9 +1223,38 @@ option:
section: stanza
group: pg
type: string
command: pg-port
command:
backup: {}
check: {}
stanza-create: {}
stanza-delete: {}
stanza-upgrade: {}
default: postgres
depend: pg-port
depend:
option: pg-path
pg-local:
section: stanza
group: pg
type: boolean
internal: true
default: false
command:
archive-get:
internal: true
archive-push:
internal: true
backup: {}
check: {}
restore:
internal: true
stanza-create: {}
stanza-delete: {}
stanza-upgrade: {}
command-role:
async: {}
main: {}
local: {}
pg-host:
section: stanza
@ -1304,29 +1333,6 @@ option:
db-user: {index: 1, reset: false}
db?-user: {reset: false}
pg-local:
section: stanza
group: pg
type: boolean
internal: true
default: false
command:
archive-get:
internal: true
archive-push:
internal: true
backup: {}
check: {}
restore:
internal: true
stanza-create: {}
stanza-delete: {}
stanza-upgrade: {}
command-role:
async: {}
main: {}
local: {}
pg-path:
section: stanza
group: pg
@ -1351,14 +1357,8 @@ option:
type: integer
default: 5432
allow-range: [0, 65535]
command:
backup: {}
check: {}
stanza-create: {}
stanza-delete: {}
stanza-upgrade: {}
depend:
option: pg-path
command: pg-database
depend: pg-database
deprecate:
db-port: {index: 1, reset: false}
db?-port: {reset: false}
@ -1462,6 +1462,127 @@ option:
local: {}
remote: {}
repo-local:
section: global
group: repo
type: boolean
internal: true
default: false
command:
archive-get: {}
archive-push: {}
backup:
internal: true
check: {}
expire:
internal: true
info: {}
repo-create: {}
repo-get: {}
repo-ls: {}
repo-put: {}
repo-rm: {}
restore: {}
stanza-create:
internal: true
stanza-delete:
internal: true
stanza-upgrade:
internal: true
verify: {}
command-role:
async: {}
main: {}
local: {}
repo-type:
section: global
group: repo
type: string
default: posix
allow-list:
- azure
- cifs
- gcs
- posix
- s3
command:
archive-get:
command-role:
async: {}
main: {}
local: {}
remote: {}
archive-push:
command-role:
async: {}
main: {}
local: {}
remote: {}
backup:
command-role:
main: {}
local: {}
check:
command-role:
main: {}
remote: {}
expire:
command-role:
main: {}
info:
command-role:
main: {}
remote: {}
repo-create:
command-role:
main: {}
remote: {}
repo-get:
command-role:
main: {}
remote: {}
repo-ls:
command-role:
main: {}
remote: {}
repo-put:
command-role:
main: {}
remote: {}
repo-rm:
command-role:
main: {}
remote: {}
restore:
command-role:
main: {}
local: {}
remote: {}
stanza-create:
command-role:
main: {}
remote: {}
stanza-delete:
command-role:
main: {}
remote: {}
stanza-upgrade:
command-role:
main: {}
remote: {}
start:
command-role: {}
stop:
command-role: {}
verify:
command-role:
main: {}
local: {}
remote: {}
deprecate:
repo-type: {index: 1, reset: false}
repo-azure-account:
section: global
type: string
@ -1680,39 +1801,6 @@ option:
deprecate:
backup-user: {index: 1, reset: false}
repo-local:
section: global
group: repo
type: boolean
internal: true
default: false
command:
archive-get: {}
archive-push: {}
backup:
internal: true
check: {}
expire:
internal: true
info: {}
repo-create: {}
repo-get: {}
repo-ls: {}
repo-put: {}
repo-rm: {}
restore: {}
stanza-create:
internal: true
stanza-delete:
internal: true
stanza-upgrade:
internal: true
verify: {}
command-role:
async: {}
main: {}
local: {}
repo-path:
section: global
group: repo
@ -1767,18 +1855,6 @@ option:
deprecate:
retention-diff: {index: 1, reset: false}
repo-retention-full:
section: global
group: repo
type: integer
required: false
allow-range: [1, 9999999]
command: repo-retention-full-type
command-role:
main: {}
deprecate:
retention-full: {index: 1, reset: false}
repo-retention-full-type:
section: global
group: repo
@ -1793,6 +1869,18 @@ option:
command-role:
main: {}
repo-retention-full:
section: global
group: repo
type: integer
required: false
allow-range: [1, 9999999]
command: repo-retention-full-type
command-role:
main: {}
deprecate:
retention-full: {index: 1, reset: false}
repo-retention-history:
section: global
group: repo
@ -1941,91 +2029,3 @@ option:
repo?-azure-verify-tls: {index: 1}
repo?-s3-verify-ssl: {index: 1, reset: false}
repo?-s3-verify-tls: {index: 1}
repo-type:
section: global
group: repo
type: string
default: posix
allow-list:
- azure
- cifs
- gcs
- posix
- s3
command:
archive-get:
command-role:
async: {}
main: {}
local: {}
remote: {}
archive-push:
command-role:
async: {}
main: {}
local: {}
remote: {}
backup:
command-role:
main: {}
local: {}
check:
command-role:
main: {}
remote: {}
expire:
command-role:
main: {}
info:
command-role:
main: {}
remote: {}
repo-create:
command-role:
main: {}
remote: {}
repo-get:
command-role:
main: {}
remote: {}
repo-ls:
command-role:
main: {}
remote: {}
repo-put:
command-role:
main: {}
remote: {}
repo-rm:
command-role:
main: {}
remote: {}
restore:
command-role:
main: {}
local: {}
remote: {}
stanza-create:
command-role:
main: {}
remote: {}
stanza-delete:
command-role:
main: {}
remote: {}
stanza-upgrade:
command-role:
main: {}
remote: {}
start:
command-role: {}
stop:
command-role: {}
verify:
command-role:
main: {}
local: {}
remote: {}
deprecate:
repo-type: {index: 1, reset: false}