Re: pipe_read_line for reading arbitrary strings - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pipe_read_line for reading arbitrary strings
Date
Msg-id F9FA7691-FB90-415E-829A-74CA625AE021@yesql.se
Whole thread Raw
In response to Re: pipe_read_line for reading arbitrary strings  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
> On 8 Mar 2024, at 19:38, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> On 8 Mar 2024, at 18:13, Peter Eisentraut <peter@eisentraut.org> wrote:
>
>>> Good catch, that's an incorrect copy/paste, it should use ERRCODE_NO_DATA.
>>
>> Also it shouldn't print %m, was my point.
>
> Absolutely, I removed that in the patch upthread, it was clearly wrong.

Pushed the fix for the incorrect logline and errcode.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Call perror on popen failure
Next
From: jian he
Date:
Subject: Re: POC, WIP: OR-clause support for indexes