Re: How to cleanup transaction after statement_timeout aborts a query? - Mailing list pgsql-general

From Laurenz Albe
Subject Re: How to cleanup transaction after statement_timeout aborts a query?
Date
Msg-id 47b356914fd6ccfd828ffd62d00ff2bfce37f076.camel@cybertec.at
Whole thread Raw
In response to Re: How to cleanup transaction after statement_timeout aborts a query?  (Istvan Soos <istvan.soos@gmail.com>)
List pgsql-general
On Sun, 2024-09-08 at 16:02 +0200, Istvan Soos wrote:
> On Sun, Sep 8, 2024 at 3:41 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> > You must be doing something wrong then, because it works:
>
> And you are right, I was doing something wrong:
>
> [...]
>
> I'm sorry for the noise.

No problem; I'm glad you could find the stumbling stone.

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

I'm afraid this question is too generic for an answer...
I'd say it should be easy and intuitive to use, and should be as robust
as possible (return meaningful error messages rather than crash).

Yours,
Laurenz Albe



pgsql-general by date:

Previous
From: Istvan Soos
Date:
Subject: Re: How to cleanup transaction after statement_timeout aborts a query?
Next
From: Adrian Klaver
Date:
Subject: Re: Faster data load