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 1lKxaE-0006t9-Jd for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Mar 2021 06:17:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKxaD-00087d-Ay for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Mar 2021 06:17:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKxaC-00085U-Rz for pgsql-hackers@lists.postgresql.org; Sat, 13 Mar 2021 06:17:05 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lKxa9-0002yB-SZ for pgsql-hackers@postgresql.org; Sat, 13 Mar 2021 06:17:04 +0000 Received: by mail-pj1-x102a.google.com with SMTP id q2-20020a17090a2e02b02900bee668844dso11762653pjd.3 for ; Fri, 12 Mar 2021 22:17:01 -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=+m0K02UDh/0OGviCt5yDs/x2fVIEPWO7DAmGaCw70uo=; b=d/w8KLQtftCz4eLRDX5Ne0126qRHIFN/IlihKP10Sa7lGpBQ74yAPV1/kP35oqmEBt xLUu1ihdXh3v2lhnH8yBowvVFa59wHX91KIx4Iki3TodIpJkzk5bOZ/eRDMm5kpQLyKa TawR3q41bN12g2kZbqOtJUf7TaDQlIEcz0Px4= 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=+m0K02UDh/0OGviCt5yDs/x2fVIEPWO7DAmGaCw70uo=; b=Edgl/1GobSHjfoXifA3koHFk2LlanWAQxsRjUoIPdxnqDt+kamdODrdBdh9He/14gu 9KuaBpm9s7AZjtl9ojBckHKigaSHTr8zQ+ueE4le+EnhTJRdbQrxMZQx7ObiMXpLfqPq sZ24OanxSiKSdjp5d3Qe0d2wWU4EtBJ36RI+/flphd8dV3RYLCUCQmhqyiBvnvY7YgI3 Wdbf6MN9Ti3jBTEETnFDcIrEWG53ACxsHAhRCe2PErL4g9DUhk6rypnI24MLK+Hj676w eB6qPFe3MzBNivvXSZ7MOBUXkuU8ENCfN35TwRJfo6iC2ysm/IdF+ysDMVKgP42kLBj0 cNcw== X-Gm-Message-State: AOAM532cZi8pWiO1jGlf2ZQ1F/aNRrbN1sY5XvBUb2lPgtszDi8n+7h2 xvHq7fP4tXC5k3mGNAiYh8VYGQ== X-Google-Smtp-Source: ABdhPJyL+coeFL7rVQ5W7JjAy3uBd9Z1IktbJhga7h7yL/cvqIOZ12Ct2ElPsYW6Inh19QQZrMvLIQ== X-Received: by 2002:a17:90a:4203:: with SMTP id o3mr170391pjg.1.1615616219417; Fri, 12 Mar 2021 22:16:59 -0800 (PST) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id bk8sm3877959pjb.13.2021.03.12.22.16.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Mar 2021 22:16:58 -0800 (PST) Date: Fri, 12 Mar 2021 22:16:55 -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: <20210313061655.GC3099026@rfd.leadboat.com> References: <9E76E46A-48B2-4869-BD0C-422204C1F767@enterprisedb.com> <2574324.1615611372@sss.pgh.pa.us> <2588078.1615613250@sss.pgh.pa.us> <2589781.1615615635@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2589781.1615615635@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:07:15AM -0500, Tom Lane wrote: > I wrote: > >> ... btw, prairiedog (which has a rather old Perl) has a > >> different complaint: > >> Invalid type 'q' in unpack at t/004_verify_heapam.pl line 104. > > > Hmm ... "man perlfunc" on that system quoth > > q A signed quad (64-bit) value. > > Q An unsigned quad value. > > (Quads are available only if your system supports 64-bit > > integer values _and_ if Perl has been compiled to support those. > > Causes a fatal error otherwise.) > > It does not seem unreasonable for us to rely on Perl having that > > in 2021, so I'll see about upgrading this perl installation. > > Hm, wait a minute: hoverfly is showing the same failure, even though > it claims to be running a 64-bit Perl. Now I'm confused. On that machine: [nm@power8-aix 7:0 2021-03-13T06:09:08 ~ 0]$ /usr/bin/perl64 -e 'unpack "q", ""' [nm@power8-aix 7:0 2021-03-13T06:09:10 ~ 0]$ /usr/bin/perl -e 'unpack "q", ""' Invalid type 'q' in unpack at -e line 1. hoverfly does configure with PERL=perl64. /usr/bin/prove is from the 32-bit Perl, so I suspect the TAP suites get 32-bit Perl that way. (There's no "prove64".) This test should unpack the field as two 32-bit values, not a 64-bit value, to avoid requiring more from the Perl installation.