Am Freitag, 15. Juli 2005 14:19 schrieb Greg Sabino Mullane: > > The use case is when you want to prepare a query, but only if it's not > > already prepared on that connection. > > This has been covered before, but to reiterate: why would you need this? > Any application worth its salt should be tracking which statements it > has already prepared (after all, they cannot span connections). Seems > a waste of resources to make a separate call to the database for > information you should already know.
Does not apply to mod_php/apache, you simply do not know if a connection made my pg_pconnect is a new connection or a reused one. That has nothing to do with the application itself. ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster