Re: CI slowdown due to PG_TEST_INITDB_EXTRA_OPTS

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: CI slowdown due to PG_TEST_INITDB_EXTRA_OPTS
Date: 2026-07-22 06:56:24
Message-ID: CAN55FZ3jqqX9Th23XmDv6U-xwJjzsuc1JffYmswFT=oqy8JfrQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Tue, 21 Jul 2026 at 03:56, Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2026-07-20 23:47:16 +0200, Jelte Fennema-Nio wrote:
> > On Sat, 18 Jul 2026 at 20:48, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > > It looks like any one job mostly uses the same value of
> > > PG_TEST_INITDB_EXTRA_OPTS. Could we record what was used to set up
> > > the template, and allow using it if that matches?
>
> I wonder if the best thing would be to add PG_TEST_SERVER_POSTGRES_OPTS or
> such, which Cluster.pm and regress.c would add to postgresql.conf.

Attached is an attempt to implement 'PG_TEST_SERVER_POSTGRES_OPTS'.

Like Jelte, I didn't see any improvement for MacOS.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v2-0001-Add-PG_TEST_SERVER_POSTGRES_OPTS-to-inject-server.patch text/x-patch 6.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tender Wang 2026-07-22 07:44:51 Re: remove_useless_joins vs. bug #19560
Previous Message shveta malik 2026-07-22 06:35:07 Re: [PATCH] Preserve replication origin OIDs in pg_upgrade