Re: How to cleanup transaction after statement_timeout aborts a query?

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: How to cleanup transaction after statement_timeout aborts a query?
Дата
Msg-id 47b356914fd6ccfd828ffd62d00ff2bfce37f076.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: How to cleanup transaction after statement_timeout aborts a query?  (Istvan Soos <istvan.soos@gmail.com>)
Список 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 по дате отправления: