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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Consistently test for in-use shared memory.
Дата
Msg-id 28797.1555376505@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Consistently test for in-use shared memory.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Consistently test for in-use shared memory.  (Noah Misch <noah@leadboat.com>)
Список pgsql-committers
Noah Misch <noah@leadboat.com> writes:
>> Perhaps I should write the 'SELECT 1 + 1' to a regular file and redirect input
>> from that file.

Actually ... we don't need to run a query at all do we?

Although this would only help if Perl will optimize away an attempt
to write zero bytes to the pipe, which seems likely but not certain.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Consistently test for in-use shared memory.
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Don't write to stdin of a test process that could have alreadye