Re: temp tables ORACLE/PGSQL

From: Dennis Sacks <dennis(at)illusions(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: temp tables ORACLE/PGSQL
Date: 2005-04-28 19:04:29
Message-ID: 427133BD.5050407@illusions.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-04-28 19:13:44 Re: Clustering
Previous Message Patrick Haugen 2005-04-28 18:59:59 Clustering