pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Backport BackgroundPsql perl test module
Date: Thu, 27 Jun 2024 16:34:43 +0000
Message-ID: <E1sMs54-003Fht-7Z@gemulon.postgresql.org> (raw)

Backport BackgroundPsql perl test module

Backport the new BackgroundPsql modules and the constructor functions,
background_psql() and interactive_psql, to all supported
branches. That makes it easier to backpatch tests that use it.

BackgroundPsql was introduced in version 16. On version 16, this
commit backports just the new timeout argument from master (commit
334f512f45). On older branches, the whole facility. This includes the
change to `use warnings FATAL => 'all'`, which we haven't otherwise
backported, but it seems good to keep the file identical across
branches.

Discussion: https://www.postgresql.org/message-id/b7c64f20-ea01-4f15-9088-0cd6832af149@iki.fi

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/12f327b210b3b093e09778ec05fd44bbee4b0736

Modified Files
--------------
contrib/amcheck/t/003_cic_2pc.pl                   |  70 ++---
src/bin/psql/t/010_tab_completion.pl               |  28 +-
src/test/perl/PostgreSQL/Test/BackgroundPsql.pm    | 310 +++++++++++++++++++++
src/test/perl/PostgresNode.pm                      |  86 ++----
.../recovery/t/010_logical_decoding_timelines.pl   |   1 -
src/test/recovery/t/031_recovery_conflict.pl       |  98 ++-----
src/test/recovery/t/037_invalid_database.pl        |  50 +---
7 files changed, 399 insertions(+), 244 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1sMs54-003Fht-7Z@gemulon.postgresql.org>
Permalink:  ../E1sMs54-003Fht-7Z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sMs54-003Fht-7Z@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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Backport BackgroundPsql perl test module
  In-Reply-To: <E1sMs54-003Fht-7Z@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