Re: SET variables - Mailing list pgsql-hackers

From mlw
Subject Re: SET variables
Date
Msg-id 3AFEFD30.3859E3E6@mohawksoft.com
Whole thread Raw
In response to Re: Re: SET variables  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: SET variables  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> 
> > A Postgres with enough Oracle-isms would be a world beater. As it is, when I
> > show Oracle people what Postgres can do, they are blown away. They love the
> > fact that temporary tables are in an isolated name space, sequences are more
> 
> Are you saying that multiple people can't create temp tables with the
> same name, or that you can't create a temp table that masks a real
> table?  I know PostgreSQL does both.

In Oracle, temp tables occupy the same name space. One can not have two or more
users with the same temp table name without it being the same table. This is
why temp tables are not as used as one would think in Oracle.

To use a temp table in Oracle you have to some up with some random naming
scheme. It really blows. Because of this Oracle developers have long stayed
away from temp tables.


-- 
42 was the answer, 49 was too soon.
------------------------
http://www.mohawksoft.com


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: SET variables
Next
From: Bruce Momjian
Date:
Subject: Re: SET variables