pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: Yu Shi (Fujitsu) <shiy.fnst@fujitsu.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
Date: Mon, 15 Jan 2024 13:11:26 +0900
Message-ID: <ZaSwbl4AYcHS-zzP@paquier.xyz> (raw)
In-Reply-To: <1375923.1705291719@sss.pgh.pa.us>
References: <ZZ7GpII4bAYN+jT5@ip-10-97-1-34.eu-west-3.compute.internal>
	<5d0e5bec-67f9-9164-36cb-c4ff5f95d1ed@gmail.com>
	<ZaACEPtVovKlRVUf@ip-10-97-1-34.eu-west-3.compute.internal>
	<6f85667e-5754-5d35-dbf1-c83fe08c1e48@gmail.com>
	<ZaBlU5FqOeDqyHtJ@paquier.xyz>
	<ZaDnIMTbT+0yR5LZ@ip-10-97-1-34.eu-west-3.compute.internal>
	<cc7925b8-30cc-c76d-b1b6-c9ec6bd36a03@gmail.com>
	<ZaFCoJ1FxBQ9jQkX@ip-10-97-1-34.eu-west-3.compute.internal>
	<ZaSthTtVmvKKuGNb@paquier.xyz>
	<1375923.1705291719@sss.pgh.pa.us>

On Sun, Jan 14, 2024 at 11:08:39PM -0500, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> While thinking about that, a second idea came into my mind: a
>> superuser-settable developer GUC to disable such WAL records to be
>> generated within certain areas of the test.  This requires a small
>> implementation, but nothing really huge, while being portable
>> everywhere.  And it is not the first time I've been annoyed with these
>> records when wanting a predictible set of WAL records for some test
>> case.
> 
> Hmm ... I see what you are after, but to what extent would this mean
> that what we are testing is not our real-world behavior?

Don't think so.  We don't care much about these records when it comes
to checking slot invalidation scenarios with a predictible XID
horizon, AFAIK.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (29+ messages)  latest in thread

Message-ID: <ZaSwbl4AYcHS-zzP@paquier.xyz>
Permalink:  ../ZaSwbl4AYcHS-zzP@paquier.xyz/
Also on:    postgresql.org/message-id/ZaSwbl4AYcHS-zzP@paquier.xyz

 · 

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-hackers@postgresql.org
  Cc: michael@paquier.xyz, tgl@sss.pgh.pa.us, bertranddrouvot.pg@gmail.com, exclusion@gmail.com, shiy.fnst@fujitsu.com, robertmhaas@gmail.com, andres@anarazel.de, thomas.munro@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Test slots invalidations in 035_standby_logical_decoding.pl only if dead rows are removed
  In-Reply-To: <ZaSwbl4AYcHS-zzP@paquier.xyz>

* 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