[GENERAL] Check if prepared statement exist?

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

[GENERAL] Check if prepared statement exist?

От:
Igor Korot <ikorot01@gmail.com>
Дата:
 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 <tgl@sss.pgh.pa.us>
Дата:
Igor Korot  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

FAQ