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

From Tom Lane
Subject Re: pgsql: Consistently test for in-use shared memory.
Date
Msg-id 28797.1555376505@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Consistently test for in-use shared memory.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Consistently test for in-use shared memory.  (Noah Misch <noah@leadboat.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Consistently test for in-use shared memory.
Next
From: Noah Misch
Date:
Subject: pgsql: Don't write to stdin of a test process that could have alreadye