Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ls8bO-0006sQ-H7 for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Jun 2021 18:43:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ls8bL-0006Qb-93 for pgsql-hackers@arkaria.postgresql.org; Sat, 12 Jun 2021 18:43:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ls8bJ-0006QT-SP for pgsql-hackers@lists.postgresql.org; Sat, 12 Jun 2021 18:43:22 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ls8bD-0006O3-5y for pgsql-hackers@lists.postgresql.org; Sat, 12 Jun 2021 18:43:20 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C3419203; Sat, 12 Jun 2021 14:43:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 12 Jun 2021 14:43:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=K54GjKzhAvS9ZLs6KeZB8KIFqucSWjT1XO7lmTepLtk=; b=E0eZj+cB IxYmOPX1dguU2cNm7kThcxOJMXyIrmBwq+2pw/MnPD/TaY9wHnnSr+TYsLA8lQts ymYjoi75paaAOmFBH42/rohe2STkNLFHWVNr+qHk6SLqo8ljsi+ajjpv3aSwmAhn lR126YYZcxNYAE2NY8uMtX0z0sLIdcv2X3x78v/hQbkOSOI5xthK6RVFfn249lVC 7rT8xmrtcfVV45gDVm8N3ulJ7x6zycTLfiDIKwEZeMmxLE2vV1P2KMN8Ey8NeNTp uiggGKLMTdg8+SerwuF5Z0IxrtxcSe/ktDPMU5XJ0hP3KnH7YAazhPsuF5xrM6NO VQnYjwrUEyudww== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvtddgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjgesthekredttddtudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepgeegveevffevjeffudethfdvtdeggefhhffguefhfeej iefgvefhfeelvedtudetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 12 Jun 2021 14:43:11 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 1195D2A0B76; Sat, 12 Jun 2021 14:43:08 -0400 (-04) Date: Sat, 12 Jun 2021 14:43:08 -0400 From: Alvaro Herrera To: Tom Lane Cc: Amit Kapila , Mark Dilger , PostgreSQL Hackers , Peter Eisentraut , Simon Riggs Subject: Re: logical replication of truncate command with trigger causes Assert Message-ID: <202106121843.c4uagunajhpm@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2321999.1623517262@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-12, Tom Lane wrote: > Amit Kapila writes: > > On Fri, Jun 11, 2021 at 8:56 PM Tom Lane wrote: > >> I was thinking maybe we could mark all these replication protocol > >> violation errors non-translatable. While we don't want to crash on a > >> protocol violation, it shouldn't really be a user-facing case either. > > > I don't see any problem with that as these are not directly related to > > any user operation. So, +1 for making these non-translatable. > > Done that way. Good call, thanks. Not only it's not very useful to translate such messages, but it's also quite a burden because some of them are difficult to translate. -- Álvaro Herrera Valdivia, Chile "Tiene valor aquel que admite que es un cobarde" (Fernandel)