Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS - Mailing list pgsql-docs

From Euler Taveira
Subject Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS
Date
Msg-id b1e8e241-d2d1-4a53-8ba8-2f72b920b8c6@app.fastmail.com
Whole thread Raw
In response to Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS
List pgsql-docs
On Mon, Nov 27, 2023, at 12:05 PM, PG Doc comments form wrote:
It is not clear to me that foreign keys are copied or not when duplicating a
table using CREATE TABLE ... LIKE ... INCLUDING ALL. I had to actually test
to check what it does.


It is impractical to add what a feature *does not* provide in general. The
probability that that information will be obsolete (due to new features) is
high. If the information is missing that's because it is not supported. (Of
course, it can be an omission and, in this case, we need to fix it.)


--
Euler Taveira

pgsql-docs by date:

Previous
From: Eric Hanson
Date:
Subject: Re: "name" vs "alias" in datatype table
Next
From: Tom Lane
Date:
Subject: Re: "name" vs "alias" in datatype table