Re: 7.3 Prepared statements

Alan Gutierrez <ajglist@izzy.net>

From: Alan Gutierrez <ajglist@izzy.net>
To: pgsql-general@postgresql.org
Date: 2003-01-06T10:35:50Z
Lists: pgsql-general
Francisco J Reyes wrote:
> On 17 Dec 2002, Neil Conway wrote:
> 
> 
>>On Tue, 2002-12-17 at 10:19, Ericson Smith wrote:
>>
>>>1. What is the lifetime of the plan created?
>>
>>>From the PREPARE reference page:
>>
>>Prepared queries are stored locally (in the current backend), and only
>>exist for the duration of the current database session.
> 
> 
> What is the difference/advantage between a prepared query and a view?
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

The idocs are still at 7.2.1. Is there an API for the prepared query interface 
in a later version of libpq? In libpq-fe.h there doesn't seem to be a statement 
structure or prepare call. Examples of prepared query use?

Alan Gutierrez