[Libpqxx-general] PQexecParams
Trigve Siver
trigves at yahoo.com
Wed Apr 22 19:45:39 UTC 2009
> From: Jeroen Vermeulen <jtv at xs4all.nl>
> To: Trigve Siver <trigves at yahoo.com>
> Cc: libpqxx-general at pgfoundry.org
> Sent: Wednesday, April 22, 2009 6:09:45 PM
> Subject: Re: [Libpqxx-general] PQexecParams
> Here's the simplest thing I can do: postgres lets you define a nameless prepared
> statement. What's special about it is that you can re-define it without ever
> unpreparing it.
>
> If I added support for that, you would use the prepared-statement API for this,
> except that you don't have pick a name and you don't have to unprepare the
> statement after use. That's pretty much what PQexecParams does internally, as I
> recall.
>
Looks good to me.
Trigve
More information about the Libpqxx-general
mailing list