Re: pg_get_prepared?
| От | Mario Weilguni |
|---|---|
| Тема | Re: pg_get_prepared? |
| Дата | |
| Msg-id | 200507161122.31207.mweilguni@sime.com обсуждение исходный текст |
| Ответ на | Re: pg_get_prepared? ("Greg Sabino Mullane" <greg@turnstep.com>) |
| Список | pgsql-hackers |
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.
В списке pgsql-hackers по дате отправления: