diff options
author | Amit Kapila <akapila@postgresql.org> | 2023-11-30 09:31:21 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2023-11-30 09:31:21 +0530 |
commit | 3e36e48d8efecea9f2c991c0341e567af2eb363a (patch) | |
tree | ceff8ed971df45a51d7733e22c405090b59a78c4 /src/backend/tcop/postgres.c | |
parent | 5abff2aaa1ab968cccbb76823e089b790912d21f (diff) | |
download | postgresql-3e36e48d8efecea9f2c991c0341e567af2eb363a.tar.gz postgresql-3e36e48d8efecea9f2c991c0341e567af2eb363a.zip |
Fix a test in 003_logical_slots.
We allow to upgrade the slot iff there is no pending WAL to be processed.
The test first disables the subscription to avoid unnecessary LOGs on the
subscriber and then stops the publisher node. It is quite possible that
just before the shutdown of the publisher, autovacuum generates some WAL
record that needs to be processed, so just disable the autovacuum for this
test.
Per buildfarm.
Author: Hayato Kuroda
Reviewed-by: Amit Kapila
Discussion: http://postgr.es/m/OS3PR01MB9882FED1F0060468FB01B9DAF583A@OS3PR01MB9882.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions