public inbox for [email protected]  
help / color / mirror / Atom feed
From: Istvan Soos <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: [email protected]
Subject: Re: How to cleanup transaction after statement_timeout aborts a query?
Date: Sun, 8 Sep 2024 16:02:34 +0200
Message-ID: <CALdQGgvBTFq1mOHY1GZ2t-h1x0Tjw+-HuOkZshTD7GTHdWowwQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CALdQGgv_an=JdfkomND7sJcuAS1L5OmbFzhQa9qcW48syTXyKg@mail.gmail.com>
	<[email protected]>
	<CALdQGgtteEQYNWhT80gNG3xSsjw+p1xDhFiG-+CUMXR9Gy=wBg@mail.gmail.com>
	<[email protected]>

On Sun, Sep 8, 2024 at 3:41 PM Laurenz Albe <[email protected]> wrote:
> You must be doing something wrong then, because it works:

And you are right, I was doing something wrong:

The combination of the change and the library internals triggered a
SET statement_timeout TO 3000; before the ROLLBACK was sent, and the
error message I got was not clear on which statement triggered it.

I'm sorry for the noise.

Btw. Is there any guideline on how to write the client libraries or
recommendations/tests that a client library should follow?

Thanks,
  Istvan






view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: How to cleanup transaction after statement_timeout aborts a query?
  In-Reply-To: <CALdQGgvBTFq1mOHY1GZ2t-h1x0Tjw+-HuOkZshTD7GTHdWowwQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox