pgsql: Add PG_TEST_SERVER_POSTGRES_OPTS to inject server GUCs in tests

Поиск
Список
Период
Сортировка
Искать

pgsql: Add PG_TEST_SERVER_POSTGRES_OPTS to inject server GUCs in tests

От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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 
Reviewed-by: Andrey Borodin 
Reviewed-by: Jakub Wartak 
Reviewed-by: Jelte Fennema-Nio 
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(-)

FAQ