Re: Postgres prepare statement caching issue in postgres command line

2021-05-23 Thread Soumya Prasad Ukil
sure what JDBC does extra.  On Sunday, 23 May, 2021, 03:53:55 am IST, Adrian Klaver wrote: On 5/22/21 1:25 PM, Soumya Prasad Ukil wrote: > I have been using postgres prepare statement feature through JDBC. I > could see the same prepare statement multiple times, parsing is not > h

Postgres prepare statement caching issue in postgres command line

2021-05-22 Thread Soumya Prasad Ukil
I have been using postgres prepare statement feature through JDBC. I could see the same prepare statement multiple times, parsing is not happening in postgres backend, which is expected. However I do the same in psql command line, that does not happen. It goes to parsing every time I execute Usi

Postgresql post_parse_analyze_hook not getting triggered for COMMIT command

2021-05-05 Thread Soumya Prasad Ukil
Hello All, I am trying to build a postgres extension and I have installed the following hooks using this document  https://wiki.postgresql.org/images/e/e3/Hooks_in_postgresql.pdf  The hooks that I have installed in my extension are the followings: - shmem_startup_hook - post_parse_analyze