Re: Query jumbling for prepare statement

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: bt22kawamotok <bt22kawamotok(at)oss(dot)nttdata(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Query jumbling for prepare statement
Date: 2022-09-14 08:18:33
Message-ID: 20220914081833.zsqd56kondaxyadv@jrouhaud
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Wed, Sep 14, 2022 at 05:14:06PM +0900, bt22kawamotok wrote:
>
> I found prepare statement are not jumbled.
> Fro example PREPARE 't1'; and PREPARE 't2' are counted separately in
> pg_stat_statements.

Are you talking about PREPARE TRANSACTION? If yes I already suggested that a
few days ago (1), and Bertrand implemented it in the v5 version of the patch on
that thread.

[1] https://www.postgresql.org/message-id/20220908112919.2ytxpkitiw6lt2u6@jrouhaud

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-09-14 08:26:42 Re: pg_basebackup's --gzip switch misbehaves
Previous Message Fujii Masao 2022-09-14 08:15:02 Re: [PATCH]Feature improvement for MERGE tab completion