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

Поиск
Список
Период
Сортировка
От Istvan Soos
Тема Re: How to cleanup transaction after statement_timeout aborts a query?
Дата
Msg-id CALdQGgvBTFq1mOHY1GZ2t-h1x0Tjw+-HuOkZshTD7GTHdWowwQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to cleanup transaction after statement_timeout aborts a query?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: How to cleanup transaction after statement_timeout aborts a query?
Список pgsql-general
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:

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



В списке pgsql-general по дате отправления: