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.96) (envelope-from ) id 1wPqsN-00156H-0Y for pgsql-hackers@arkaria.postgresql.org; Thu, 21 May 2026 00:02:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wPqsK-008oMO-28 for pgsql-hackers@arkaria.postgresql.org; Thu, 21 May 2026 00:02:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wPqsK-008oMF-0p for pgsql-hackers@lists.postgresql.org; Thu, 21 May 2026 00:02:57 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wPqsJ-0000000018x-19jr for pgsql-hackers@lists.postgresql.org; Thu, 21 May 2026 00:02:56 +0000 Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-50e5c5033f6so48112981cf.0 for ; Wed, 20 May 2026 17:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779321774; cv=none; d=google.com; s=arc-20240605; b=Bc+x21TwYrB1yCQ136xhXOkpwGn3C3mz/vdxWmmB3fGMTEEhjrLj5sUhPWNCVzwORs O++W9wom4kpL4cpLnMXztfDdlX6F4Gj6OYSsMmF4ygk+hw7LhZlussI6ktp9d7pgW/YL KH/0T67PbMytO6kXE2H4g6M2dmCP+Vq8R60AW7muxe5/3ZBEU50AiqFEpWo3yP+KiJo7 LH3s52MGx5gWOaKvJfdm3kLy2gqkyLAbxbn3RHe/I8tD6lh9lER7LuSuY58FEgZVogmp BgHKq6f6eUriUExCMgyhG8edSKLh/rcCbQtBCMmDk4hBwtKYfU7zuPindp+bZF5/+2Sl GYDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7y2ZyRPks1GmBjeK5LIR36g9jyl6Hia0MxXJulMHsgo=; fh=+sdT10mx+yU1IuP8FRMnf25spZPtkFwKo8jkcpjFDLw=; b=JoNgJHw+U+r0UYcNY5xPdFQXbYjJSFsogDoXOemGSnvIUYwJOUDzhDOrvNivq6mKpe lGupK/gV8pHBQ8rsrJWJEJdMfqnqh1spUHUxnkHJaC6EowNS6C/Az/VncclUBu67QAmO fdvEFtW+9UdT6BYRs5jcofcz8t5pJSqPmL8bCc7ucWDSbzvaUU+ZkxBWZuuK4NSQ7GTq eGAPwsduPXytKGhSgBD2WquxhDyD3NsJBaK/5s/Gu+Do2aSDRExZv28059IvhFnedZIE eIutCAYiLCRjFPIkp4O8GTjAqOKldqr9KGwAwTyJo8G2c37KJ/Kvsy4SqRz/plh+Tfp1 dsqg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779321774; x=1779926574; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7y2ZyRPks1GmBjeK5LIR36g9jyl6Hia0MxXJulMHsgo=; b=d1icBILB2w1Go2bqqqSoC2CwdwexowQT1W71Poa1t2amC+zMLwf5ZKS6SU+6bJHb67 +SKNTjVga4FGadPxaIc/ZvRhCzZch3rQSFCRLKY1yxhGSkvg2w5VSwXDQ7gc2er+8FlD 5P8KnslHYwY3IxlmAircavbNCoEjtrMe56QuWwS6ebOSHGzPBSij6Hc8e0drL6P61PTt HL/MCRMxcDBnwR+ntHLDxWi4FA7Pmo1AdBF+MZMhzfdWfOeI54P1e9UHDWQ/ZmnbB+tR HzRAdFLR1R1qj3dC/S0lH2tUT47uz10RV6lOX+5UaOj5zePInbSiPMh0jy//yX+2KDFL twAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779321774; x=1779926574; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7y2ZyRPks1GmBjeK5LIR36g9jyl6Hia0MxXJulMHsgo=; b=ZlGo+m315DDn87W+2nvjhf5x0oZSoppPDFeg60BX6y5kanBhL0/1Ql5QE3GKKE7J21 HN9dGVb4PXREOL0scwUzdLr0K0n+hda7xbjikdggA3nyk2E82ZoCn6iDBIX1f0yF2Gj4 4iqSOgniwZibhhjCLuMuLhlCJLil3DrFYt8edzdctXUKx0I2/ED+4+sgnVO+vDituN6z wMtLjpux2ykg5IwqfajEknTDVuJ82JLixbnGwvTM11NfSRDYkoTVRvXz8As9ZMxSNk/H +mwXCG+fuixQX5DH6GsH26R/CtsLrBINnGz5fkJu+Td83b0r/NgIx7v/lOUSq940GrO5 byaQ== X-Forwarded-Encrypted: i=1; AFNElJ8CD2Nl9kWwsr128sbl8TbZIo+8Px8mUSyzx4UMK6iBLUJQrTppCKzjwLY2VgkvdJ5xpcrexVqSxpEV88Mf@lists.postgresql.org X-Gm-Message-State: AOJu0YxQX75ppwOUICvjWvZtbW6p5kdRgYEe47BV43fxHU/MOSGIiQLL RxTU+AIMOhifI6GHO4XQ+Y4TzFmz6ttO3opXMscKKpJL1sDHGiPrb17n/v22YCJK3KHv7khdaJk u01oidVJaNsbyjEMWidH5fj+GWNEuQAw= X-Gm-Gg: Acq92OFtvusVbddpjs+eVSkpfDjgnBU2izWlmiCN4Ip9Sa00R3TgSwlDHCHp06G27TS WpsA4yTxSQLrnXVG5T8AwP9gO2O6kOcftk8qD8eaTBfMzXS1WWSYc/58y5WFiZUxdSjvBmOlQfa 3lq/WgVW0V0aePbq9MKJDfhRq+MvyH1i++wsZ56SUmwCGq1NJVOFIZukMNeHRKFxGMmkphHzONR mFdITroCL0V1ivT6CYP/RpCwWd/SEex6fjE436wBmko+3pVE+dzuzQt2JSdAMG02U5OUaRGSSpC xvpkMvvhNeFuWj/mdw== X-Received: by 2002:a05:622a:259b:b0:50d:edcd:4f39 with SMTP id d75a77b69052e-516c55c6f42mr9005661cf.40.1779321773748; Wed, 20 May 2026 17:02:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Thu, 21 May 2026 10:02:25 +1000 X-Gm-Features: AVHnY4Kax19ZjmOw-GGa89pzGPnFSHi0S_TVxZjzAiGV1dygKpJfiLigDGDDFdA Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: Shlok Kyal Cc: vignesh C , Dilip Kumar , Nisha Moond , Amit Kapila , shveta malik , Masahiko Sawada , Bharath Rupireddy , PostgreSQL Hackers , shveta malik Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, May 20, 2026 at 8:50=E2=80=AFPM Shlok Kyal wrote: .. > Comments for 0002: > 2. We can rename the schema pg_conflict to a different schema name. > Is it ok to hardcode the schema name to 'pg_conflict'? > - errmsg("cannot move objects into or out of CONFLICT sche= ma"))); > + errmsg("cannot move objects into or out of > pg_conflict schema"))); > > Example: > postgres=3D# ALTER SCHEMA pg_conflict RENAME TO sc1; > ALTER SCHEMA > postgres=3D# ALTER TABLE t2 SET SCHEMA sc1; > ERROR: cannot move objects into or out of pg_conflict schema > Yikes! I am not sure that the error message is the problem here. There are worse things that are similar to this. e.g. I found that you can do the same trick of renaming the 'pg_catalog' schema, and it breaks anything that refers to that schema by name -- all the internal SQL!! test_pub=3D# ALTER SCHEMA pg_catalog RENAME TO mycatalog; ALTER SCHEMA test_pub=3D# \dRp+ ERROR: relation "pg_catalog.pg_publication" does not exist LINE 9: FROM pg_catalog.pg_publication ^ =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia