Обсуждение: [GENERAL] Check if prepared statement exist?

Поиск
Список
Период
Сортировка

[GENERAL] Check if prepared statement exist?

От
Igor Korot
Дата:
 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.


Re: [GENERAL] Check if prepared statement exist?

От
Tom Lane
Дата:
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