diff options
author | Andres Freund | 2018-10-31 21:47:41 +0000 |
---|---|---|
committer | Andres Freund | 2018-10-31 22:46:40 +0000 |
commit | cf358a2c066ccb8fc9e82dc59358130aa61075ab (patch) | |
tree | 5b67f7cf3e7d5c65009273f8bf2f576cdd70ce41 /src/tools/git-external-diff | |
parent | 95015b1f8e8eef895ddbfe38697c6da5754ba1d4 (diff) |
Disallow starting server with insufficient wal_level for existing slot.
Previously it was possible to create a slot, change wal_level, and
restart, even if the new wal_level was insufficient for the
slot. That's a problem for both logical and physical slots, because
the necessary WAL records are not generated.
This removes a few tests in newer versions that, somewhat
inexplicably, whether restarting with a too low wal_level worked (a
buggy behaviour!).
Reported-By: Joshua D. Drake
Author: Andres Freund
Discussion: https://postgr.es/m/20181029191304.lbsmhshkyymhw22w@alap3.anarazel.de
Backpatch: 9.4-, where replication slots where introduced
Diffstat (limited to 'src/tools/git-external-diff')
0 files changed, 0 insertions, 0 deletions