From: Tiaan Wessels <tiaan@netsys.co.za>
To: pgsql-sql@postgresql.org
Subject: CREATE TABLES AS looses constraints
Date: Thu, 29 May 2003 16:35:34 +0000
Message-ID: <20030529163556.7EBDE925D04@developer.postgresql.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tiaan@netsys.co.za
Subject: Re: CREATE TABLES AS looses constraints
In-Reply-To: <20030529163556.7EBDE925D04@developer.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox