Re: temp tables and pg_pconnect()
От | Brent R. Matzelle |
---|---|
Тема | Re: temp tables and pg_pconnect() |
Дата | |
Msg-id | 20011013192905.23166.qmail@web13006.mail.yahoo.com обсуждение исходный текст |
Ответ на | Re: temp tables and pg_pconnect() ("Adam Lang" <aalang@rutgersinsurance.com>) |
Список | pgsql-php |
--- Adam Lang <aalang@rutgersinsurance.com> wrote: > Are temp tables supposed to be destroyed when the connection > is cosed? If > so, then the reason is because with pconnect, the connection > really is never > killed as far as Postgresql sees it. The connection remains > open. pg_pconnect does keep the existing connection to PostgresSQL so the temporary table would not be dropped. > Can you drop the temp table yourself through the pg_exec > comand and just use > DROP TABLE ? That would be a reasonable approach. Or, if you do not need to drop the table it would be might be more efficient to perform a TRUNCATE rather than the DROP and CREATE combo. That would depend upon your system. Brent __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
В списке pgsql-php по дате отправления: