Re: Adding an extra byte to ReadyForQuery (B) to indicate HOLD cursors

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Cc: Hannu Krosing <hannuk(at)google(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Dave Cramer <davecramer(at)postgres(dot)rocks>
Subject: Re: Adding an extra byte to ReadyForQuery (B) to indicate HOLD cursors
Date: 2025-11-28 13:45:18
Message-ID: D15906A4-006D-4C28-B389-21C91492CDBD@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 28 Nov 2025, at 18:28, Kirill Reshke <reshkekirill(at)gmail(dot)com> wrote:
>
> If we can inform the client that his postgresql backend has some
> session-level objects (like prepared statement, temp table, advisory
> lock or cursor), this will be very helpful.

+1.

Roman was starting discussion with very similar topic [0]. Not only drivers need this, proxies too.

Best regards, Andrey Borodin.

[0] https://www.postgresql.org/message-id/82741750755647@mail.yandex-team.ru

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-11-28 14:16:47 Re: headerscheck ccache support
Previous Message Chao Li 2025-11-28 13:39:33 Re: Cleanup shadows variable warnings, round 1