Re: Transaction timeout - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Transaction timeout
Date
Msg-id CAPpHfdtQqNaiq-1kfnRhCPvuiExdDvS3gAO72nNOVv6D+018pQ@mail.gmail.com
Whole thread Raw
In response to Re: Transaction timeout  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
List pgsql-hackers
On Wed, Mar 13, 2024 at 7:56 AM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
> > On 13 Mar 2024, at 05:23, Alexander Korotkov <aekorotkov@gmail.com> wrote:
> >
> > On Tue, Mar 12, 2024 at 10:28 AM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
> >>> On 11 Mar 2024, at 16:18, Alexander Korotkov <aekorotkov@gmail.com> wrote:
> >>>
> >>> I think if checking psql stderr is problematic, checking just logs is
> >>> fine.  Could we wait for the relevant log messages one by one with
> >>> $node->wait_for_log() just like 040_standby_failover_slots_sync.pl do?
> >>
> >> PFA version with $node->wait_for_log()
> >
> > I've slightly revised the patch.  I'm going to push it if no objections.
>
> One small note: log_offset was updated, but was not used.

Thank you. This is the updated version.

------
Regards,
Alexander Korotkov

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Andrew Dunstan
Date:
Subject: Re: session username in default psql prompt?