Check if prepared statement exist?
Started by Igor Korotover 8 years ago2 messagesgeneral
Hi, ALL,
Is there a way to do such a check from the libpq?
I'm trying to call a function from 2 different places of the
application and want to
see if I already had the call to PQprepare();
Thank you.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Re: Check if prepared statement exist?
Igor Korot <ikorot01@gmail.com> writes:
Is there a way to do such a check from the libpq?
I think the pg_prepared_statements view will help you.
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general