Re: Temp rows - is it possible?

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Temp rows - is it possible?
Дата
Msg-id 200311111139.02338.shridhar_daithankar@myrealbox.com
обсуждение исходный текст
Ответ на Re: Temp rows - is it possible?  (Robert Creager <Robert_Creager@LogicalChaos.org>)
Ответы Re: Temp rows - is it possible?
Список pgsql-general
On Tuesday 11 November 2003 02:16, Robert Creager wrote:
> When grilled further on (Mon, 10 Nov 2003 09:39:32 -0500),
>
> Tom Lane <tgl@sss.pgh.pa.us> confessed:
> > We recently decided we had to forbid foreign-key references from temp
> > tables to permanent tables because of this effect.  I wonder whether
> > we won't end up forbidding temp tables as children of permanent tables
> > too.
>
> Forbidding temp tables that inherit?  That would suck (as someone who uses
> them).  Would there be an alternate method to easily create a temp table
> that is identical to another?

You can use LIKE clause in create table.

See http://developer.postgresql.org/docs/postgres/sql-createtable.html

HTH

 Shridhar


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

Предыдущее
От: Christopher Murtagh
Дата:
Сообщение: Re: PL/Perl returning multiple rows
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: PL/Perl returning multiple rows