Re: Making background psql nicer to use in tap tests

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Making background psql nicer to use in tap tests
Дата
Msg-id 882122.1675109206@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Making background psql nicer to use in tap tests  (Andres Freund <andres@anarazel.de>)
Ответы Re: Making background psql nicer to use in tap tests  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> It's annoyingly hard to wait for the result of a query in a generic way with
> background_psql(), and more generally for psql. background_psql() uses -XAtq,
> which means that we'll not get "status" output (like "BEGIN" or "(1 row)"),
> and that queries not returning anything are completely invisible.

Yeah, the empty-query-result problem was giving me fits recently.
+1 for wrapping this into something more convenient to use.

            regards, tom lane



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: recovery modules
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG: Postgres 14 + vacuum_defer_cleanup_age + FOR UPDATE + UPDATE