Re: [DOCS] CREATE TABLE LIKE, regarding constraints

2012-01-02 Thread david.sahagian
-Original Message- From: Magnus Hagander [mailto:mag...@hagander.net] Sent: Saturday, December 31, 2011 7:42 AM To: Sahagian, David Cc: pgsql-docs@postgresql.org Subject: Re: [DOCS] CREATE TABLE LIKE, regarding constraints On Fri, Dec 30, 2011 at 22:27, wrote: > www.postgresql.org/docs/

[DOCS] CREATE TABLE LIKE, regarding constraints

2011-12-31 Thread david.sahagian
www.postgresql.org/docs/9.0/static/sql-createtable.html == == == == == LIKE parent_table [ like_option ... ] . . . Not-null constraints are always copied to the new table. CHECK constraints will only be copied if INCLUDING CONSTRAINTS is specified; other types of constraints will never be copied.