Re: temp tables ORACLE/PGSQL

Поиск
Список
Период
Сортировка
Искать
От
Dennis Sacks
Тема
Re: temp tables ORACLE/PGSQL
Дата
Msg-id
427133BD.5050407@illusions.com
Ответ на
Список
Дерево обсуждения
temp tables ORACLE/PGSQL fisher73@gazeta.pl (NO-fisher-SPAM_PLEASE)
Re: temp tables ORACLE/PGSQL Dennis Sacks <dennis@illusions.com>
Re: temp tables ORACLE/PGSQL Tony Caduto <tony_caduto@amsoftwaredesign.com>
Re: temp tables ORACLE/PGSQL Steve Atkins <steve@blighty.com>
Re: temp tables ORACLE/PGSQL Dennis Sacks <dennis@illusions.com>
Re: temp tables ORACLE/PGSQL Tony Caduto <tony_caduto@amsoftwaredesign.com>
Re: temp tables ORACLE/PGSQL Neil Conway <neilc@samurai.com>
Re: temp tables ORACLE/PGSQL Pavel Stehule <stehule@kix.fsv.cvut.cz>
Tony Caduto wrote:

> This is not entirely correct.   We use temp tables all the time in 
> PLpgsql functions and never have to use
> execute.  We have found that you have to use EXECUTE only in certain 
> circumstances.
>
>
> we use this in all our functions that use temp tables, and we use PG 
> Lightning Admin, which refreshes the
> connection each time you run a query which gets around a lot of issues 
> with temp tables.


If you refresh the connection each time you run a query,  maybe you 
don't need to use EXECUTE with temporary tables in stored procedures, 
but who does that in a production database application? Most people want 
to re-use connections for performance reasons.

Dennis
В списке pgsql-general по дате отправления
От: Michael Fuhr
Дата:
От: Patrick Haugen
Дата:
Сообщение: Clustering
FAQ