Re: BUG #13979: Strange pg_stat_statements results with PREPARE/EXECUTE - Mailing list pgsql-bugs

From Kasahara Tatsuhito
Subject Re: BUG #13979: Strange pg_stat_statements results with PREPARE/EXECUTE
Date
Msg-id CAP0=ZVKF-iKUw_2KhXegc3akVZFc6OKhOobnhZN-ohg8suvJeA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13979: Strange pg_stat_statements results with PREPARE/EXECUTE  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
Hi,

2016-02-24 0:32 GMT+09:00 David G. Johnston <david.g.johnston@gmail.com>:
> What do you think the following statement does?
>
> PreparedStatement ps1 = con.prepareStatement(sql1);
I think above statement would performed "PREAPRE".
But sometimes those were counted as PREPARE, or  sometimes were
counted as normal SELECT.
So, I was little confused...

But I see it's a restrictions of current postgres's design.

Best regards,
--
Tatsuhito Kasahara
kasahara.tatsuhito _at_ gmail.com

pgsql-bugs by date:

Previous
From: martin.klima@warhorsestudios.cz
Date:
Subject: BUG #13987: Refreshing materialized view prevents changing rights during restore
Next
From: Kasahara Tatsuhito
Date:
Subject: Re: BUG #13979: Strange pg_stat_statements results with PREPARE/EXECUTE