Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujclR-009wya-S9 for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Aug 2025 11:57:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ujclQ-00FOkg-GH for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Aug 2025 11:57:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujclQ-00FOkV-4k for pgsql-bugs@lists.postgresql.org; Wed, 06 Aug 2025 11:57:00 +0000 Received: from mout.perfora.net ([74.208.4.196]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ujclN-0013al-1e for pgsql-bugs@lists.postgresql.org; Wed, 06 Aug 2025 11:56:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sqlexec.com; s=s1-ionos; t=1754481415; x=1755086215; i=dbman@sqlexec.com; bh=GUawCy3WXZPXQbLr1TFxifGBwQX9l7Yn+Jv5/8bW0lo=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=SHJlwUJjhqoVItPI64DkfMIxscnrZFeH9if2RwOgDtLFJjbm4eShXuDpUxKMdiW7 ZkVNPK94EGKZCorMwNlg7GMMPUh1AFuYaS/X3DZoUEB3rqm2iLe0yf0yAmta8OA2o UZQqLjWQ1xGyb7qZA5t7QC+m5MZds6BCNjzXgcr6lVJ5Gjs2DmyRYp+Ri4XK3Xhpn wIetSeNCfuWuZmJM4Z7RkDSNSQtGbI+Io4MzsVqYih6K6usAcTR1OCsXFPidX8Gaf G14TlsPtC4Bun5uQsoXXynmsxS4giRzaqWYMcT6h0zjichzzcO77sveY10l+FAuAj bn/YRpzkzECiOD6Ihw== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from [192.168.0.143] ([73.171.48.12]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MCszN-1urd7V3cuJ-00GgNR; Wed, 06 Aug 2025 13:56:55 +0200 Content-Type: multipart/alternative; boundary="------------a4QnPmVQD0rpjxnmbHs3oW6D" Message-ID: Date: Wed, 6 Aug 2025 07:56:53 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #19013: When creating a table with the "...LIKE...INCLUDING ALL" construct, REPLICA IDENTITY output is wrong To: "David G. Johnston" , pgsql-bugs@lists.postgresql.org References: <19013-04a5827d56b97202@postgresql.org> Content-Language: en-US From: "dbman@sqlexec.com" In-Reply-To: X-Provags-ID: V03:K1:86JQ1g1DEac+iw4u96o3QI+U4K6c0CBkYUFNqq5fjQYFsADa0UU JOzYBiQPnEQyvcDJHM37ZjuwW7c52yJaybU+Rpula6vNbkckqnsYg7W0ay7cQdMkeATONCw R3HwhQant+uvAx03me+Sl0ur3Lsv+ahW0trZ2AyCIiUlYcVZ9pqgLkeyFoBPDnAJFMGquYt 0m77GAb3FmfCDbRhI4cYg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:kgLPlghDdUU=;6pRXH7pmI4oRF+Zi/K4ScKt/lUU VHvzCxcQXDy/UEuLvKpzUsB2b77iaRJP++Fd2MHxUvbB8nXtqxSrc0VdrKPgrxaghFCh2dSoQ nahvNA1ZxZlbui+/Nx3uIL2MznENbEvn5iBc8RdK4xdmXNHTuZ+XJn3+SF29aBTMm6M40AfXZ F4ohnibrsHmLHdwE394DHZCuSuv85fzf97v/FA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hMRhvTpKEHcOhno3qNgHG6KchmNBap6g3oGz7O2AEUD4ZWvkPx c5UH5KUNLVelbbiYmx52d57ocwuf3bPFdTC64/nYn6LEiS32Hn5VTXTiyMtJFNcv/8WeJTbjd 3DzYUftEPdPuAvRmx2eOcJiBnIZ33++wcDOdTDYcg6I3WllXc6TXiOZXkTZ3unhEgaQNMu37r mbku/Qq8VbmTpKxy8WFjsN4w6ApfP83VYMqGDclnP7m3hHJ+oXeoQSSP5y4bVEDAYt+XE5LTO vInAGBdM4yhK8dRGJUL8Q+haF3hjqzmZzTSBrVW6/Uw/Ju5lkoK9jZGEi1dqA981M6gPJJv/d 9z39zV3AzOzDFwQhmDMdpv3oByHHecoaECYKqonyQdc6GDBUwwVlg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------a4QnPmVQD0rpjxnmbHs3oW6D Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 8/5/2025 7:01 PM, David G. Johnston wrote: > On Tue, Aug 5, 2025 at 2:43=E2=80=AFPM PG Bug reporting form=20 > wrote: > > The following bug has been logged on the website: > > Bug reference:=C2=A0 =C2=A0 =C2=A0 19013 > Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Michael Vitale > Email address: dbman@sqlexec.com > PostgreSQL version: 17.5 > Operating system:=C2=A0 =C2=A0CentOS 8 Streams > Description: > > > We don't document that the replica identity attribute of a table is=20 > something that can be copied.=C2=A0 'ALL' only covers those things which= =20 > are documented as being copy-able. > > David J. > I understand your logic about not everything is copy-able, just what is=20 documented, but this is a different case.=C2=A0 I am not complaining that = it=20 is not copying the REPLICA IDENTITY, but rather that it is copying it in= =20 a WRONG WAY, changing its property from FULL to DEFAULT.=C2=A0 I think tha= t=20 is a reasonable complaint.=C2=A0 If you are going to attempt to copy it=20 erroneously, then I think you should consider that a bug and fix it.=C2=A0= =20 Otherwise, remove it and don't try to copy it.=C2=A0 Does that seem reason= able? --------------a4QnPmVQD0rpjxnmbHs3oW6D Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 8/5/2025 7:01 PM, David G. Johnston wrote:
On Tue, Aug 5, 2025 at 2:43=E2=80=AFPM PG Bug reporting form <n= oreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:=C2=A0 =C2=A0 =C2=A0 19013
Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Michael Vitale Email address:=C2=A0 =C2=A0 =C2=A0 dbman@sqlexec.com
PostgreSQL version: 17.5
Operating system:=C2=A0 =C2=A0CentOS 8 Streams
Description:=C2=A0 =C2=A0 =C2=A0 =C2=A0


We don't document that the replica identity attribute of a table is something that can be copied.=C2=A0 'ALL' only covers those things which are documented as being copy-able.

David J.

I understand your logic about not everything is copy-able, just what is documented, but this is a different case.=C2=A0 I am not complaining that it is not copying the REPLICA IDENTITY, but rather that it is copying it in a WRONG WAY, changing its property from FULL to DEFAULT.=C2=A0 I think that is a reasonable complaint.= =C2=A0 If you are going to attempt to copy it erroneously, then I think you should consider that a bug and fix it.=C2=A0 Otherwise, remove it an= d don't try to copy it.=C2=A0 Does that seem reasonable?

--------------a4QnPmVQD0rpjxnmbHs3oW6D--