pgsql: TAP tests: check for postmaster.pid anyway when "pg_ctl start" f

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: TAP tests: check for postmaster.pid anyway when "pg_ctl start" f
Дата
Msg-id E1nAIWI-0006ex-IN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
TAP tests: check for postmaster.pid anyway when "pg_ctl start" fails.

"pg_ctl start" might start a new postmaster and then return failure
anyway, for example if PGCTLTIMEOUT is exceeded.  If there is a
postmaster there, it's still incumbent on us to shut it down at
script end, so check for the PID file even though we are about
to fail.

This has been broken all along, so back-patch to all supported branches.

Discussion: https://postgr.es/m/647439.1642622744@sss.pgh.pa.us

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6eec809fbcfbd8e0ab5e1c6485c7f53020f0d0b0

Modified Files
--------------
src/test/perl/PostgresNode.pm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make configure prefer python3 to plain python.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: interval_out() must be marked STABLE, not IMMUTABLE.