Re: pipe_read_line for reading arbitrary strings

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pipe_read_line for reading arbitrary strings
Date: 2024-03-08 23:06:15
Message-ID: F9FA7691-FB90-415E-829A-74CA625AE021@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 8 Mar 2024, at 19:38, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> On 8 Mar 2024, at 18:13, Peter Eisentraut <peter(at)eisentraut(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2024-03-09 00:00:00 Re: POC, WIP: OR-clause support for indexes
Previous Message Daniel Gustafsson 2024-03-08 23:05:34 Re: Call perror on popen failure