Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS

Поиск
Список
Период
Сортировка
Искать
От
Euler Taveira
Тема
Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS
Дата
Msg-id
b1e8e241-d2d1-4a53-8ba8-2f72b920b8c6@app.fastmail.com
Ответ на
Список
Дерево обсуждения
Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS PG Doc comments form <noreply@postgresql.org>
Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS "Euler Taveira" <euler@eulerto.com>
Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS David Virebayre <david@robbez.com>
Re: Clarification regarding CREATE TABLE LIKE and FOREIGN KEYS "David G. Johnston" <david.g.johnston@gmail.com>
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 по дате отправления
От: Eric Hanson
Дата:
От: Tom Lane
Дата:
FAQ