pgsql: Remove unnecessary PGDATABASE settings from TAP tests

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unnecessary PGDATABASE settings from TAP tests
Date: 2024-01-03 01:28:38
Message-ID: E1rKq3i-00DCqS-Ed@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove unnecessary PGDATABASE settings from TAP tests

Some of the TAP tests have been historically setting the environment
variable PGDATABASE to 'postgres', which is not needed because
PostgreSQL::Test::Cluster already sets it when initialized. This commit
removes these explicit setups.

Note that the dependency of cluster -a with PGDATABASE (from
1caef31d9e55) is still documented.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACXLAz5dW3ZP+Fec8g6jQMMmDyCVT+qdbye2h7QJJmhsdw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b66d7b4e0b3bb55c04fe9466b428c24d7cb0980

Modified Files
--------------
src/bin/scripts/t/011_clusterdb_all.pl | 6 ++----
src/test/recovery/t/004_timeline_switch.pl | 2 --
src/test/recovery/t/019_replslot_limit.pl | 2 --
3 files changed, 2 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-01-03 05:25:52 pgsql: Fix some typos
Previous Message Tom Lane 2024-01-02 19:57:27 pgsql: Minor fixes for search path cache code.