BUG #14346: CREATE TABLE xxx (LIKE yyy INCLUDING ALL) fails

From: mroscio(at)tin(dot)it
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14346: CREATE TABLE xxx (LIKE yyy INCLUDING ALL) fails
Date: 2016-09-29 11:37:32
Message-ID: 20160929113732.20224.74918@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14346
Logged by: Massimo Roscio
Email address: mroscio(at)tin(dot)it
PostgreSQL version: 9.5.4
Operating system: PostgreSQL 9.5.4 on x86_64-pc-linux-gnu, compiled
Description:

xxx is created with all relevant columns

When yyy has no primary keys, all constraints are duly created on xxx.

When yyy has a primary key named pk_yyy, a primary key named xxx_pkey is
created, all other constraints are lost.

Please feel free to ask for more information if needed.

regards

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2016-09-29 12:04:54 Re: BUG #14344: string_agg(DISTINCT ..) crash
Previous Message Peter Geoghegan 2016-09-29 11:36:04 Re: BUG #14344: string_agg(DISTINCT ..) crash