Re: GLOBAL vs LOCAL temp tables - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: GLOBAL vs LOCAL temp tables
Date
Msg-id 200304152211.h3FMBJj13280@candle.pha.pa.us
Whole thread Raw
In response to GLOBAL vs LOCAL temp tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: GLOBAL vs LOCAL temp tables
List pgsql-hackers
Tom Lane wrote:
> So it now seems clear to me that we are in error to reject CREATE GLOBAL
> TEMP TABLE; we ought to accept that.
> 
> What I am wondering now is if we should flip the logic to reject CREATE
> LOCAL TEMP TABLE?  Or should we just silently accept both?  I'm leaning
> towards the latter, on the grounds of backward compatibility.

Well, since we don't support modules, I think we should allow LOCAL.  If
we had modules, we should reject it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Does libpq have SSL functions?
Next
From: "Ron Mayer"
Date:
Subject: Re: Are we losing momentum?