Re: CREATE table1 FROM table2

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: CREATE table1 FROM table2
Дата
Msg-id Pine.LNX.4.33.0306231100100.23895-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: CREATE table1 FROM table2  ("L.V.Boldareva" <me@pierro.dds.nl>)
Список pgsql-sql
On Mon, 23 Jun 2003, L.V.Boldareva wrote:

> Hello!
> 
> many people posted their answer to this simple question. however,
> neither
> CREATE TABLE AS
> nor
> SELECT INTO
> 
> do not take care about keys and triggers, etc.
> 
> The commands above only copy the structure of the table, and the data.
> Are there any workarounds fr copying the table as a whole object?

You probably want to use pg_dump dbname -t tablename and edit the file 
thus created by hand to create a new table etc...





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

Предыдущее
От: Randall Lucas
Дата:
Сообщение: Re: TR: Like and =
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: convert_numeric_to_scalar: unsupported type 354210