Re: Temporary and permanent tables with same name
От
Curt Sampson
Тема
Re: Temporary and permanent tables with same name
Дата
Msg-id
Pine.NEB.4.51.0302061536530.7356@angelic.cynic.net
Ответ на
Temporary and permanent tables with same name (Vilson farias)
Список
Дерево обсуждения
Temporary and permanent tables with same name "Vilson farias" <vilson.farias@digitro.com.br>
Re: Temporary and permanent tables with same name Tom Lane <tgl@sss.pgh.pa.us>
Re: Temporary and permanent tables with same name Curt Sampson <cjs@cynic.net>
On Wed, 5 Feb 2003, Vilson farias wrote:
> I've been doing some temporary tables and I created one with the
> same name of a permanent table. Maybe you should avoid temporary
> tablem creation for this case.
> ...
>
> bxs=# CREATE TABLE test (x INT4);
> CREATE
> bxs=# SELECT CAST('45 SECONDS' AS INTERVAL) INTO TEMP test;
Yes, this is a great feature, isn't it? I use it all the time for creating
a copy of a table local to a connection and running various tests on it.
Then it just vanishes when I disconnect.
cjs
--
Curt Sampson +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC
В списке pgsql-general по дате отправления