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 1lKyYV-00010w-Vy for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Mar 2021 07:19:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKyYT-0001sP-7M for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Mar 2021 07:19:21 +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 1lKyYS-0001p7-Uh for pgsql-hackers@lists.postgresql.org; Sat, 13 Mar 2021 07:19:20 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lKyYQ-0008MD-JJ for pgsql-hackers@postgresql.org; Sat, 13 Mar 2021 07:19:19 +0000 Received: by mail-pl1-x62b.google.com with SMTP id w7so9462934pll.8 for ; Fri, 12 Mar 2021 23:19:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tRA9h8sQgG0+7MUoSxke9XSwfP6stUZfcNhPtAaKZQk=; b=SqUgaSwkS8METt61DETcbJIwixYA3BOWs+7nCk4HMnwVKc+hNLHjXZFDurLwvbi7Io G/rw8hfhoE3BQTSV97hoBk/JHZyyrTuGlYkSy51ilrWLTO2djFJMSuRlT3Am2yPPM48q YcgxUpcYSWdw7eMt6zI5rR6kaag3eubzwFz8A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tRA9h8sQgG0+7MUoSxke9XSwfP6stUZfcNhPtAaKZQk=; b=T487+3GUTwHtF4PBn4kXoENir5s5S/wPK5Cc/22WcEAf74yBvlkLAPMvXO4Udoxeqn /tJgPyldj2V2WCEvjOanAmCD/oNaB+zv4iGTH3LzN/kTRSAZZINe3WlnBAQ1z/4oNPrp FT4Een1kgB8UxBFvfwtC8OzvNrR3jTKvEJ+I/Da/I4IGdOxj7jHcuD8tHm1SZss7dmmT 3n6fP8RJnfV03dnES9I5O0Nv1H+6dLjhfVKHOHdLC3cAAFDw+v8HX8itQ9psQIOVd18b AYgY/ZgKNKUeBcNBCuZgUyvxV0z+PN+JdkEzQXKlb9uJaA83ULeibU4r3RdLq5fWGv/a fSkw== X-Gm-Message-State: AOAM531SnJbLhdkp6bjKuDlnRFDmxoALhI7uHChsCE+7b/oF5rwJYoC/ t/9GCgohjAsqBx9YSuQTAJE00Q== X-Google-Smtp-Source: ABdhPJyzI6Z3mVqJcXVFYJ7ate7EF4MLmtVStYAlIx2/Z7ReEUZlqv4rpJxKJ0JVuTBmrVaG5ORiYA== X-Received: by 2002:a17:90b:1953:: with SMTP id nk19mr2299304pjb.28.1615619957509; Fri, 12 Mar 2021 23:19:17 -0800 (PST) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id l3sm4066362pju.44.2021.03.12.23.19.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Mar 2021 23:19:16 -0800 (PST) Date: Fri, 12 Mar 2021 23:19:13 -0800 From: Noah Misch To: Tom Lane Cc: Mark Dilger , Robert Haas , Peter Geoghegan , Thomas Munro , "Andrey M. Borodin" , Stephen Frost , Michael Paquier , Amul Sul , Dilip Kumar , Andres Freund , PostgreSQL-development Subject: Re: pg_amcheck contrib application Message-ID: <20210313071913.GA3112164@rfd.leadboat.com> References: <2574324.1615611372@sss.pgh.pa.us> <2588078.1615613250@sss.pgh.pa.us> <2589781.1615615635@sss.pgh.pa.us> <20210313061655.GC3099026@rfd.leadboat.com> <6BBDE6C1-3F40-4009-896D-9CA9D87BEC9A@enterprisedb.com> <2590503.1615616574@sss.pgh.pa.us> <2591070.1615617371@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2591070.1615617371@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Mar 13, 2021 at 01:36:11AM -0500, Tom Lane wrote: > Mark Dilger writes: > > On Mar 12, 2021, at 10:22 PM, Tom Lane wrote: > >> Coping with both endiannesses might be painful. > > > Not too bad if the bigint value is zero, as both the low and high 32bits will be zero, regardless of endianness. The question is whether that gives up too much in terms of what the test is trying to do. I'm not sure that it does, but if you'd rather solve this by upgrading perl, that's ok by me. > > I don't mind updating the perl installations on prairiedog and gaur, > but Noah might have some difficulty with his AIX flotilla, as I believe > he's not sysadmin there. The AIX animals have Perl v5.28.1. hoverfly, in particular, got a big update package less than a month ago. Hence, I doubt it's a question of applying routine updates. The puzzle would be to either (a) compile a 32-bit Perl that handles unpack('q') or (b) try a PostgreSQL configuration like "./configure ... PROVE='perl64 /usr/bin/prove --'" to run the TAP suites under perl64. (For hoverfly, it's enough to run "prove" under $PERL. mandrill, however, needs a 32-bit $PERL for plperl, regardless of what it needs for "prove".) Future AIX packagers would face doing the same. With v5-0001-pg_amcheck-continuing-to-fix-portability-problems.patch being so self-contained, something like it is the way to go.