Re: pgsql: Add function to pump IPC process until string match

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: pgsql: Add function to pump IPC process until string match
Дата
Msg-id 72D87565-A0A6-42DC-BF0D-3C1E4AFB8237@yesql.se
обсуждение исходный текст
Ответ на Re: pgsql: Add function to pump IPC process until string match  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgsql: Add function to pump IPC process until string match  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
> On 30 Mar 2022, at 18:09, Andres Freund <andres@anarazel.de> wrote:

>> Would adding back something like the (right now untested) below be what you're
>> after?  Looking at the perldoc I didn't see any other debugging aids we can
>> emit other than the stream and type of error.
>
> I found showing the regex from before useful. Often there's many
> pump_until()'s, and the regex makes it easier to figure out what errored
> out. And it shows quoting problem. Since it only happens when there was a
> failure, it's not like it'll bloat the log unduly.

I'll add diag output on failures along the lines of the diff from earlier today
but with the regex as well (which Alvarao also requested), but tomorrow morning
once coffee has been consumed.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: SQL JSON functions
Следующее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Optimize order of GROUP BY keys