Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hfxES-0005ov-Go for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Jun 2019 02:00:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hfxEQ-0004m7-8S for pgsql-bugs@arkaria.postgresql.org; Wed, 26 Jun 2019 02:00:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hfxEQ-0004m0-0W for pgsql-bugs@lists.postgresql.org; Wed, 26 Jun 2019 02:00:18 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hfxEM-0001jQ-Vl for pgsql-bugs@lists.postgresql.org; Wed, 26 Jun 2019 02:00:17 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7A73321F85; Tue, 25 Jun 2019 22:00:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 25 Jun 2019 22:00:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=gTLQH8HOqEg7ptNyLEFEVMJ+4kH jYVgiRBOna/3Ff2I=; b=BUovL1gycl4S1XFVIOEyRB+6jRy5Z3FZOHxj7noHp9v QYVjGEJN1gde5ZVMj5dKjSQFNWX01OLz+/gD2D0fgJvT7/I1Bt6AoHE0maIywvEe MwLzOQxrXvK1Mfm1InBZLhOmmlBuNh7oul6K83+js4fh4CjzezYP5S2k9itD9pA1 Zwz8W2v3byoK8BzHPzLZ947JVefwWAv8IAELRM45ScctbNd6Kq+arXNLtG/RitHi oJokppt/PpJYU7tOnz+SFIsMd0YWQ0RNpv0PQ8Z07NfakoO8AXNj99Ve6YO4T3pr mUwGQUr0TN0VLGQd+nNUp67Zs8P37n8nI6RIED/WvXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=gTLQH8 HOqEg7ptNyLEFEVMJ+4kHjYVgiRBOna/3Ff2I=; b=Pw9aDZ0jRmCMYLIrLH9Vyq 190SNQzu8MSzOOTma4iGxz1vk1jgo1p0CJmtliSt5TQ/q4pZr7B8WmUaktaGl3dQ sGsJv0TFMmPMTYGKp0RFs0cw8aOVIGbHXTe+neJ2Har4VssmtyEISMdC+jw2TTLI snPeNcdxzG+qMYMuScgPmHYEqBxrBEDiOf9qcRZKG8EKz970PbWA1J8SDhZ/O0bH /MXvpXdvF3lt8oHjJRcuBuGkI3+xBDncWrSRuAG/70CHj2T6I0KyWAqmxsrK9VuJ uHxipgvvlSJMRdOUGF/28e2myPiw8sh8Kpkz9h5HFGYBW1E8GG6QHL++FTq2cqkQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduuddurddutddvrddukedtrddukeehnecurfgrrhgr mhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluh hsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D91E8005C; Tue, 25 Jun 2019 22:00:04 -0400 (EDT) Date: Wed, 26 Jun 2019 10:59:57 +0900 From: Michael Paquier To: Andrey Borodin Cc: Alvaro Herrera , pgsql-bugs@lists.postgresql.org, =?utf-8?B?0JDQvdC90LAg0JrRgNGF0LDQvdCx0LDRgNC+0LLQsA==?= , Dmitriy Sarafannikov Subject: Re: Logging corruption error codes Message-ID: <20190626015925.GC1714@paquier.xyz> References: <20190620170945.GA21117@alvherre.pgsql> <28DE958A-DB3B-4266-B960-596B0092FF8E@yandex-team.ru> <20190624015920.GA1637@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UfEAyuTBtIjiZzX6" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --UfEAyuTBtIjiZzX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 25, 2019 at 03:01:23PM +0500, Andrey Borodin wrote: > Ok, if it's not a bug, should I re-send it to pgsql-hackers@ ? Or > just register on CF as a new thing... If you wish to discard this patch and begin a more advanced discussion about those errors, a new discussion on -hackers would be adapted. Now, based on what I see you are suggesting for the couple of code paths related to indexes, I don't see any problem in just applying what you have (I'd need a second-look at it obviously), in which case this thread is fine IMO. I don't think that this should be back-patched though as this is no bug fix, as mentioned upthread. >> Note: the indentation of the patch is incorrect everywhere. A >> committer applying your patch would apply pgindent anyway. :) > > Oh, sorry. I'm trying to write "like a code around", but do not > understand clearly how pgindent formats... No problem. Trying to make the code consistent with the surroundings is a good habit. -- Michael --UfEAyuTBtIjiZzX6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0S0Z0ACgkQnvQgOdby QH0uMg//UdWQ4ZE4+fUTD1l5oFFf7DxYtwB9J1J72FOFxTtcLJkXklw9c/n4vZby Izyd8u91255xivmPpNwAz1SgBOva4xuiLjWPuQtSuiIQJn6V4+5rpF7Q5WZxCSUp biCSWDw5Ynug57L0ZZgVunMk1CJMIohOOHtD3P2Cacw6R1KCku2TpRpGgpk9XXBM pLIoz6a0SxEbOvN+yKiDkhVmNv36VGinB9ko+u49i8wfwTScgZycYNuf1WxmMWEQ ozOQAY0hGhdrxAjQotKUn0y/MnP1koVZQWj9NsqLO4um/ZmLeRZIosCoIyZNN2ia W+YfalD8Ne987OmIe4ohRQNAbIM+8iGqJUuGRB7/gBH7w0af8q0V1L+95hdIUgAZ M194yi8CxOu/L2Y/iO8lhzchmrea07f6b+4QsgOcEsofZajPAUKxRpPpcTW7hbyc 7yhCQXOYpqyAR38i8TcbvmABshqwY/CDoUqBQXstbSBX4SqSkPQW6jBimiKxXKTQ Bo0u1ilY91hvBzFXgbbpSWzRhWcuwwTKpaYerDrCuzYo+gafgwZ8XyN1CylrR816 H3EDgcZocVRm50AskXVvTUPobJLgoa3Lq+A65peh/BzGHxr4VayP9HzaioiwPP92 0qz0rRJpyzLbonGkJMeXBl5iiwxtyW1xj3H23D+Pcx8eKWY0M5Y= =Z2pD -----END PGP SIGNATURE----- --UfEAyuTBtIjiZzX6--