Re: pg_upgrade test chatter

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade test chatter
Дата
Msg-id 2097922.1634695732@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_upgrade test chatter  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pg_upgrade test chatter
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2021-Oct-19, Tom Lane wrote:
>> We could dodge that, with modern versions of psql, by issuing
>> two -c switches.

> Isn't it easier to pass client_min_messages via PGOPTIONS?

> PGOPTIONS="-c client_min_messages=warning" psql -c "drop database if exists foo"

Yeah, my original thought had been to hack this at the test level.
However, I felt like it'd be worth adding this code because we could
apply it elsewhere in pg_regress.c to save several psql sessions
(and hence backend starts) per regression DB creation.  That's not a
huge win, but it'd add up.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [RFC] building postgres with meson
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_upgrade test chatter