CREATE TABLES AS looses constraints

Поиск
Список
Период
Сортировка
От Tiaan Wessels
Тема CREATE TABLES AS looses constraints
Дата
Msg-id 20030529163556.7EBDE925D04@developer.postgresql.org
обсуждение исходный текст
Ответы Re: CREATE TABLES AS looses constraints
Список pgsql-sql
Hi,
It seems as if a CREATE TABLES AS does not duplicate the table constraints. 
How can I enforce this. I need the fastest possible way to make an exact copy 
of a table. This is to support the administrative mechanism in an app where 
changes are made to a mirrored copy of a set of tables first and when happy, 
these are copied to the operational tables.
Regards
Tiaan


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

Предыдущее
От: Brian Knox
Дата:
Сообщение: "record" datatype - plpgsql
Следующее
От: "David Olbersen"
Дата:
Сообщение: Rows UPDATEd?