pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix a test in 003_logical_slots.
Date: Thu, 30 Nov 2023 04:21:20 +0000
Message-ID: <E1r8YYC-007uKZ-0K@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e36e48d8efecea9f2c991c0341e567af2eb363a

Modified Files
--------------
src/bin/pg_upgrade/t/003_logical_slots.pl | 1 +
1 file changed, 1 insertion(+)



Message-ID: <E1r8YYC-007uKZ-0K@gemulon.postgresql.org>
Permalink:  ../E1r8YYC-007uKZ-0K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1r8YYC-007uKZ-0K@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix a test in 003_logical_slots.
  In-Reply-To: <E1r8YYC-007uKZ-0K@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox