Re: Transaction timeout - Mailing list pgsql-hackers

From Junwang Zhao
Subject Re: Transaction timeout
Date
Msg-id CAEG8a3+Di2QnRADV_qhVpjt6Tg_iqTm1Cmi4fE-gTU4SEFjdgw@mail.gmail.com
Whole thread Raw
In response to Re: Transaction timeout  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
Responses Re: Transaction timeout
List pgsql-hackers
On Tue, Dec 19, 2023 at 6:27 PM Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
>
>
>
> > On 19 Dec 2023, at 13:26, Andrey M. Borodin <x4mmm@yandex-team.ru> wrote:
> >
> > I don’t have Windows machine, so I hope CF bot will pick this.
>
> I used Github CI to produce version of tests that seems to be is stable on Windows.
> Sorry for the noise.
>
>
> Best regards, Andrey Borodin.

+       <para>
+        If <varname>transaction_timeout</varname> is shorter than
+        <varname>idle_in_transaction_session_timeout</varname> or
<varname>statement_timeout</varname>
+        <varname>transaction_timeout</varname> will invalidate longer timeout.
+       </para>

When transaction_timeout is *equal* to idle_in_transaction_session_timeout
or statement_timeout, idle_in_transaction_session_timeout and statement_timeout
will also be invalidated, the logic in the code seems right, though
this document
is a little bit inaccurate.

--
Regards
Junwang Zhao



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Update the comment in nodes.h to cover Cardinality
Next
From: Fabrice Chapuis
Date:
Subject: Re: pg_waldump