pgsql: Remove unnecessary PGDATABASE settings from TAP tests - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove unnecessary PGDATABASE settings from TAP tests
Date
Msg-id E1rKq3i-00DCqS-Ed@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Minor fixes for search path cache code.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix some typos