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