From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | jian he <jian(dot)universality(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: using PGOPTIONS in meson |
Date: | 2025-01-08 19:58:25 |
Message-ID: | 5rlgi57gjyhfhblr4sthi6cjusnhapgfi5em66wmi5hdpdhdkv@3gkxrdf7qo6p |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2025-01-08 23:27:42 +0800, jian he wrote:
> hi.
> i am wondering ways to do
> ``make check PGOPTIONS="-c debug_parallel_query=regress -c work_mem=50MB"``
> in meson way, especially the PGOPTIONS part.
>
> I have looked at [1] and [2].
> [1] https://www.postgresql.org/docs/current/regress-run.html#REGRESS-RUN-CUSTOM-SETTINGS
> [2] https://wiki.postgresql.org/wiki/Meson
This isn't really a make specific thing, i.e. there's no make specific logic
for PGOPTIONS. Options passed to make just end up as environment variables and
libpq looks at environment variables. Which means you just need to set an
environment variable, which can be done without make:
PGOPTIONS="..." meson test ...
or export PGOPTIONS="..."; mesoin test ...
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2025-01-08 20:01:25 | Re: New GUC autovacuum_max_threshold ? |
Previous Message | Ilia Evdokimov | 2025-01-08 19:39:18 | Re: Sample rate added to pg_stat_statements |