Re: COMMENTS are not being copied in CREATE TABLE LIKE

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: COMMENTS are not being copied in CREATE TABLE LIKE
Date: 2026-02-13 04:22:38
Message-ID: CAKFQuwbb_=NPJU5aWwcC3J_aMSQTDpez8rx9fArq=zv3AGfQqw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday, February 12, 2026, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
>
> For example, if two source tables each have a table comment and both are
> specified in LIKE, which comment should be applied to the new table?
>

Both, with a new line between them.

David J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-02-13 04:30:43 Re: COMMENTS are not being copied in CREATE TABLE LIKE
Previous Message Fujii Masao 2026-02-13 04:13:25 Re: COMMENTS are not being copied in CREATE TABLE LIKE