| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add PG_TEST_SERVER_POSTGRES_OPTS to inject server GUCs in tests |
| Date: | 2026-11-18 14:14:12 |
| Message-ID: | E1xTgQN-00000000FJR-0Rb9@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add PG_TEST_SERVER_POSTGRES_OPTS to inject server GUCs in tests
Unlike PG_TEST_INITDB_EXTRA_OPTS, this only appends name=value
settings to postgresql.conf without disabling the initdb template
mechanism. This speeds up CI, which sets such options in most jobs
and previously paid the full initdb cost per test cluster.
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Reviewed-by: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Reviewed-by: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
Reviewed-by: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Discussion: https://www.postgresql.org/message-id/CAN55FZ3jqqX9Th23XmDv6U-xwJjzsuc1JffYmswFT=oqy8JfrQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6b0896f367bb3a3bb49558b530da31780806ea3d
Modified Files
--------------
.github/workflows/pg-ci.yml | 16 ++++++++--------
doc/src/sgml/regress.sgml | 10 ++++++++++
src/test/perl/PostgreSQL/Test/Cluster.pm | 18 ++++++++++++++++++
src/test/regress/pg_regress.c | 24 ++++++++++++++++++++++++
4 files changed, 60 insertions(+), 8 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2026-11-18 14:23:27 | pgsql: Don't make WAIT FOR LSN depend on WAL written after a page bound |
| Previous Message | Heikki Linnakangas | 2026-11-18 12:52:00 | pgsql: Fix comments after returning paths by value |