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" <vilson.farias@digitro.com.br>)
Список pgsql-general
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  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC

В списке pgsql-general по дате отправления:

Предыдущее
От: jerome
Дата:
Сообщение: Re: Backup scheme...
Следующее
От: John Smith
Дата:
Сообщение: COPY with fk's slow