Re: pg_get_prepared? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_get_prepared?
Date
Msg-id 11034.1121436457@sss.pgh.pa.us
Whole thread Raw
In response to pg_get_prepared?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Would it be useful to have a pg_get_prepared(name) function that returns 
> true or false depending on whether or not there is a prepared query of 
> that name?

This has been discussed as something needed at the protocol level, not
a SQL function.

> Perhaps we could have a way of checking the parameter types of it as well?

That's called Describe Statement.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [Bizgres-general] A Guide to Constraint Exclusion
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: pg_get_prepared?