Re: COMMENTS are not being copied in CREATE TABLE LIKE

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Alex Liapychev <coder(dot)sam(at)gmail(dot)com>
Cc: tomas(at)vondra(dot)me, tgl(at)sss(dot)pgh(dot)pa(dot)us, matheusssilv97 <matheusssilv97(at)gmail(dot)com>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, "masao(dot)fujii" <masao(dot)fujii(at)gmail(dot)com>, "david(dot)g(dot)johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "huseyin(dot)d3r" <huseyin(dot)d3r(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, chochoforwork(at)gmail(dot)com, 44973863(at)qq(dot)com
Subject: Re: COMMENTS are not being copied in CREATE TABLE LIKE
Date: 2026-10-01 21:36:56
Message-ID: 6f607039-c3c0-4b2a-96ff-4300eea85e39@uni-muenster.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Alex

On 01/10/2026 23:13, Alex Liapychev wrote:
> As Tomas and Tom’s comments have highlighted, the underlying issue is the lack of a clear use case.
> A concrete, practical use case would help establish whether those costs and risks are justified at all, and which alternative to concatenation to pick.

Looking from this perspective I agree with you. I was so busy trying to
find out "how to concatenate the comments" that I forgot to ask myself
"why should we concatenate them".

Thanks for the thorough review.

Best, Jim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Manu 2026-10-01 21:49:21 Partial indexes on system catalogs
Previous Message Jim Jones 2026-10-01 21:30:21 Re: COMMENTS are not being copied in CREATE TABLE LIKE