Remove unnecessary PGDATABASE settings from TAP tests
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/scripts/t/011_clusterdb_all.pl | modified | +2 −4 |
| src/test/recovery/t/004_timeline_switch.pl | modified | +0 −2 |
| src/test/recovery/t/019_replslot_limit.pl | modified | +0 −2 |
Discussion
- Remove unneeded PGDATABASE setting from TAP tests 4 messages · 2023-12-31 → 2024-01-03