Re: pgsql: Consistently test for in-use shared memory.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Consistently test for in-use shared memory.
Дата
Msg-id 26478.1555373328@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Consistently test for in-use shared memory.  (Noah Misch <noah@leadboat.com>)
Ответы Re: pgsql: Consistently test for in-use shared memory.  (Noah Misch <noah@leadboat.com>)
Список pgsql-committers
Noah Misch <noah@leadboat.com> writes:
> Consistently test for in-use shared memory.

Hmm ... conchuela has just found another problem with this test case:

ok 2 - detected live backend via shared memory
# Running: postgres --single -D
/home/pgbf/buildroot/HEAD/pgsql.build/src/test/recovery/tmp_check/t_017_shm_gnat_data/pgdatatemplate1 
ack Broken pipe: write( 16, 'SELECT 1 + 1' ) at /usr/local/lib/perl5/site_perl/IPC/Run/IO.pm line 549.

I interpret this as "the single-user backend exited before we could stuff
'SELECT 1 + 1' down the pipe to it, and the Perl script is not expecting
to get a write failure there".

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use [FLEXIBLE_ARRAY_MEMBER] not [1] in MultiSortSupportData.
Следующее
От: Noah Misch
Дата:
Сообщение: Re: pgsql: Consistently test for in-use shared memory.