diff options
author | Robert Haas <rhaas@postgresql.org> | 2021-10-05 12:52:49 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2021-10-05 12:52:49 -0400 |
commit | 0266e98c6b865246c3031bbf55cb15f330134e30 (patch) | |
tree | b577574caa7d894120f2c643bb192cbe7a751825 /src/backend/utils/adt | |
parent | 0ba281cb4bf9f5f65529dfa4c8282abb734dd454 (diff) | |
download | postgresql-0266e98c6b865246c3031bbf55cb15f330134e30.tar.gz postgresql-0266e98c6b865246c3031bbf55cb15f330134e30.zip |
Flexible options for CREATE_REPLICATION_SLOT.
Like BASE_BACKUP, CREATE_REPLICATION_SLOT has historically used a
hard-coded syntax. To improve future extensibility, adopt a flexible
options syntax here, too.
In the new syntax, instead of three mutually exclusive options
EXPORT_SNAPSHOT, USE_SNAPSHOT, and NOEXPORT_SNAPSHOT, there is now a single
SNAPSHOT option with three possible values: 'export', 'use', and 'nothing'.
This commit does not remove support for the old syntax. It just adds
the new one as an additional option, makes pg_receivewal,
pg_recvlogical, and walreceiver processes use it.
Patch by me, reviewed by Fabien Coelho, Sergei Kornilov, and
Fujii Masao.
Discussion: http://postgr.es/m/CA+TgmobAczXDRO_Gr2euo_TxgzaH1JxbNxvFx=HYvBinefNH8Q@mail.gmail.com
Discussion: http://postgr.es/m/CA+TgmoZGwR=ZVWFeecncubEyPdwghnvfkkdBe9BLccLSiqdf9Q@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt')
0 files changed, 0 insertions, 0 deletions