Re: Deleting prepared statements from libpq.
Jelte Fennema <me@jeltef.nl>
From: Jelte Fennema <me@jeltef.nl>
To: jian he <jian.universality@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>,
Dmitry Igrishin <dmitigr@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Daniele Varrazzo <daniele.varrazzo@gmail.com>
Date: 2023-06-19T12:49:44Z
Lists: pgsql-hackers
Attachments
- v4-0001-Support-sending-Close-messages-from-libpq.patch (application/octet-stream) patch v4-0001
On Mon, 19 Jun 2023 at 14:17, jian he <jian.universality@gmail.com> wrote: > I am not sure the following two following function comments are right.... They were incorrect indeed. Attached is a patch with those two updated. On Mon, 19 Jun 2023 at 14:17, jian he <jian.universality@gmail.com> wrote: > > On Mon, Jun 19, 2023 at 5:50 PM Jelte Fennema <me@jeltef.nl> wrote: > > > > On Mon, 19 Jun 2023 at 11:44, Jelte Fennema <me@jeltef.nl> wrote: > > > Done > > > > Now with the actual attachment. > > > > PS. Another connection pooler (PgCat) now also supports prepared > > statements, but only using Close not DEALLOCATE: > > https://postgresml.org/blog/making-postgres-30-percent-faster-in-production > > it works on my local machine. > I am not sure the following two following function comments are right.... > > /* > * PQclosePrepared > * Obtain information about a previously prepared statement > * ...... > > /* > * PQclosePortal > * Obtain information about a previously created portal > * ....
Commits
-
libpq: Add support for Close on portals and statements
- 28b572656184 17.0 landed
-
Fix incorrect error message in libpq_pipeline
- 451ca5c1e699 14.9 landed
- 4fd633df5080 15.4 landed
- f69a7f08fd01 16.0 landed