pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dbman@sqlexec.com <dbman@sqlexec.com>
To: Kirill Reshke <reshkekirill@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #19013: When creating a table with the "...LIKE...INCLUDING ALL" construct, REPLICA IDENTITY output is wrong
Date: Wed, 6 Aug 2025 12:52:28 -0400
Message-ID: <d20acac8-5cc1-43ba-9228-5c260de3796f@sqlexec.com> (raw)
In-Reply-To: <CALdSSPg1Y2UGAWRYOu3q5SLNYzw1T-U4m95SHyMW6k64+veyZw@mail.gmail.com>
References: <19013-04a5827d56b97202@postgresql.org>
	<CAKFQuwba_gRmzi4C9Uu=_+AW8L-z=V0MpkPgk3HNBoKkfA09zA@mail.gmail.com>
	<fade757a-328a-46fc-a117-8d22459e35d7@sqlexec.com>
	<CAKFQuwbnfSySRV-axfQXAsd37ERQf=8L5FQSVnRM27aBmW5uFA@mail.gmail.com>
	<cf5057c2-b9f9-4a18-961b-de3d22897650@sqlexec.com>
	<CALdSSPg1Y2UGAWRYOu3q5SLNYzw1T-U4m95SHyMW6k64+veyZw@mail.gmail.com>

On 8/6/2025 12:32 PM, Kirill Reshke wrote:
> It's hard (to me, at least) to say what is `intended` DDL here.

Why is it hard?  If the pg_dump output or /d schema.tablename output 
indicates a REPLICA IDENTITY of either FULL or INDEX, then it seems it 
should be obvious that the CREATE TABLE ... LIKE output should be 
similar, but instead it will show REPLICA IDENTITY DEFAULT.

Regards,

Michael V







view thread (9+ messages)  latest in thread

Message-ID: <d20acac8-5cc1-43ba-9228-5c260de3796f@sqlexec.com>
Permalink:  ../d20acac8-5cc1-43ba-9228-5c260de3796f@sqlexec.com/
Also on:    postgresql.org/message-id/d20acac8-5cc1-43ba-9228-5c260de3796f@sqlexec.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: dbman@sqlexec.com, reshkekirill@gmail.com, david.g.johnston@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19013: When creating a table with the "...LIKE...INCLUDING ALL" construct, REPLICA IDENTITY output is wrong
  In-Reply-To: <d20acac8-5cc1-43ba-9228-5c260de3796f@sqlexec.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox