Re: using PGOPTIONS in meson
От | Andres Freund |
---|---|
Тема | Re: using PGOPTIONS in meson |
Дата | |
Msg-id | 5rlgi57gjyhfhblr4sthi6cjusnhapgfi5em66wmi5hdpdhdkv@3gkxrdf7qo6p обсуждение исходный текст |
Ответ на | using PGOPTIONS in meson (jian he <jian.universality@gmail.com>) |
Список | 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
В списке pgsql-hackers по дате отправления: