Re: Connection specific information - Temporary table used

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alban Hertroys <alban(at)magproductions(dot)nl>
Cc: pgsql(dot)waldvogel(at)mac(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Connection specific information - Temporary table used
Date: 2006-01-11 16:37:05
Message-ID: 19447.1136997425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alban Hertroys <alban(at)magproductions(dot)nl> writes:
> pgsql(dot)waldvogel(at)mac(dot)com wrote:
>> The question: Is there any feature/technique that a) can create
>> temporary tables as in the SQL Standard defined

> CREATE TEMPORARY TABLE, as per the SQL spec probably. PostgreSQL is
> pretty standards compliant, I'd be surprised if it isn't in this respect.

No, the spec actually does say that temp tables should work that way.
See the "compatibility" section of our CREATE TABLE reference page:

The standard's definition of the behavior of temporary tables is
widely ignored. PostgreSQL's behavior on this point is similar
to that of several other SQL databases.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcos 2006-01-11 17:13:01 Concept about stored procedures
Previous Message Marcos 2006-01-11 16:30:14 Create Produre for DROP row