Igor Korot <ikorot01(at)gmail(dot)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