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 1r8XuZ-00AR8k-1G for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Nov 2023 03:40:23 +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 1r8XuX-00EUWK-2J for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Nov 2023 03:40:21 +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 1r8XuW-00EUWC-P7 for pgsql-hackers@lists.postgresql.org; Thu, 30 Nov 2023 03:40:20 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r8XuT-009HFy-Qr for pgsql-hackers@postgresql.org; Thu, 30 Nov 2023 03:40:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3AU3dkX2388187; Wed, 29 Nov 2023 22:39:46 -0500 From: Tom Lane To: Daniel Gustafsson cc: Erik Rijkers , Pavel Stehule , Justin Pryzby , Julien Rouhaud , "Gregory Stark (as CFM)" , Andres Freund , Andrew Dunstan , Alvaro Herrera , Tomas Vondra , Dean Rasheed , Stephen Frost , Surafel Temesgen , vignesh C , PostgreSQL Hackers Subject: Re: proposal: possibility to read dumped table's name from file In-reply-to: <6714E9BB-9EA3-486A-B7AC-976D97301F61@yesql.se> References: <70FC9210-B636-4863-9138-B126176D6BE2@yesql.se> <87B9339B-3492-465A-AD06-F4DDE918696D@yesql.se> <8186e8f! 0-fc8b-3d67-5e9d-c1e3e8e26040@xs4all.nl> <6714E9BB-9EA3-486A-B7AC-976D97301F61@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Wed, 29 Nov 2023 15:43:58 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <388185.1701315586.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 29 Nov 2023 22:39:46 -0500 Message-ID: <388186.1701315586@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > I took another look at this, found some more polish that was needed, add= ed > another testcase and ended up pushing it. mamba is unhappy because this uses functions without casting their arguments to unsigned char: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dmamba&dt=3D2023-= 11-30%2002%3A53%3A25 (I had not realized that we still had buildfarm animals that would complain about this ... but I'm glad we do, because it's a hazard. POSIX is quite clear that the behavior is undefined for signed chars.) regards, tom lane