Re: Transaction timeout

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
Cc: Japin Li <japinli(at)hotmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, Junwang Zhao <zhjwpku(at)gmail(dot)com>, 邱宇航 <iamqyh(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Andrew Borodin <amborodin86(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, pgsql-hackers mailing list <pgsql-hackers(at)postgresql(dot)org>, pgsql-hackers mailing list <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Transaction timeout
Date: 2024-03-13 08:17:37
Message-ID: CAPpHfdtQqNaiq-1kfnRhCPvuiExdDvS3gAO72nNOVv6D+018pQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 13, 2024 at 7:56 AM Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> > On 13 Mar 2024, at 05:23, Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
> >
> > On Tue, Mar 12, 2024 at 10:28 AM Andrey M. Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> >>> On 11 Mar 2024, at 16:18, Alexander Korotkov <aekorotkov(at)gmail(dot)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 Content-Type Size
v7-0001-Add-TAP-tests-for-timeouts.patch application/octet-stream 7.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2024-03-13 08:56:00 Re: session username in default psql prompt?
Previous Message jian he 2024-03-13 08:00:46 Re: Make COPY format extendable: Extract COPY TO format implementations