Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbqTr-0000mE-I8 for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jul 2017 15:50:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dbqTr-0001yo-4p for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jul 2017 15:50:11 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dbqSH-000603-U7 for pgsql-hackers@postgresql.org; Sun, 30 Jul 2017 15:48:34 +0000 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dbqS8-0005Q1-S6 for pgsql-hackers@postgresql.org; Sun, 30 Jul 2017 15:48:33 +0000 Received: by mail-qt0-x235.google.com with SMTP id v29so77314100qtv.3 for ; Sun, 30 Jul 2017 08:48:24 -0700 (PDT) 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=d8/4w4gGWyfjSgYTp5rp08Y1+Sqk1Nrnr8ZK5bWiLeI=; b=a8Y79pyI6U0yFj/oknkHzwV4ttj2lUwmFc+7bnvc2LzzvKKidMIFYkdyTTJVNPl/hW 0gBca0OXnosj/0+moCv/QSr+GHp+DuQ7KpR+97W7srnfjSnt2giI655smSW1wum+zpQj m8y0BLnKO64oHj//OByIoE0Bh95tvMSlN6hII= 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=d8/4w4gGWyfjSgYTp5rp08Y1+Sqk1Nrnr8ZK5bWiLeI=; b=Yccn0yyblLSqNkPLTfXESCKim9tQeuG8FaTGcTxHXBfeS8FNvhNYHM/E73FUmipsnU ycF6Z3uYAAJq0V+Yl66ilqxCZoGBci7dti8LN0dDJabd6ISRbpWlFy7VHPqoKJ8ZLzue dm+nQP4xq1XSEADYsR1KTbYGyrdmBwZ9IM2B7CWddF44ZI7puI0tSwil7JPvzxrU6Sb3 5fq3bSQZVNY+bWRR6LQbV++NWfDEDZHqDtSeeWJg/n+qd8LqZPj2K/mUj/G6wrDk8xmx dfcVdJEPLWZ2Tt9c2FF0/j5Q7SlIUZyQdNilC2f6neIAqIiHoL6LhKqI23/whNSv7E3A ie5A== X-Gm-Message-State: AIVw1108TfZo6DbG7FppYC7WZuBBSYIHrd401peVCS/EWGtpUrqYblyo RlONEcvRVWqbjMBv X-Received: by 10.237.60.247 with SMTP id e52mr18839517qtf.106.1501429702271; Sun, 30 Jul 2017 08:48:22 -0700 (PDT) Received: from rfd.leadboat.com (c-73-158-248-138.hsd1.ca.comcast.net. [73.158.248.138]) by smtp.gmail.com with ESMTPSA id j21sm19265294qtc.17.2017.07.30.08.48.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jul 2017 08:48:17 -0700 (PDT) Date: Sun, 30 Jul 2017 08:48:14 -0700 From: Noah Misch To: Tom Lane Cc: Andrew Dunstan , pgsql-hackers@postgreSQL.org Subject: Re: PL_stashcache, or, what's our minimum Perl version? Message-ID: <20170730154814.GA2636941@rfd.leadboat.com> References: <20540.1501210115@sss.pgh.pa.us> <16894.1501392088@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16894.1501392088@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sun, Jul 30, 2017 at 01:21:28AM -0400, Tom Lane wrote: > I wrote: > > So the question is, does anyone care? I wouldn't except that our > > documentation appears to claim that we work with Perl "5.8 or later". > > And the lack of field complaints suggests strongly that nobody else > > cares. So I'm inclined to think we just need to be more specific > > about the minimum Perl version --- but what exactly? > > I've done some more research on this. It seems to me there are four > distinct components to any claim about whether we work with a particular > Perl version: > > 1. Can it run the build-related Perl scripts needed to build PG from > a bare git checkout, on non-Windows platforms? > 2. Can it run our MSVC build scripts? > 3. Does pl/perl compile (and pass its regression tests) against it? > 4. Can it run our TAP tests? > 5.8.3 does appear to succeed at points 1,3,4. Now, to get through > the TAP tests you need to install IPC::Run, and you also need to > update Test::More because the version shipped with 5.8.3 is too old. > But at least the failures that you get from lacking these are pretty > clear. > Anyway, pending some news about compatibility of the MSVC scripts, > I think we ought to adjust our docs to state that 5.8.3 is the > minimum supported Perl version. Works for me. I wouldn't wait for testing of the MSVC scripts. Strawberry Perl started with 5.8.8. ActivePerl is far older, but it distributes old versions to subscription holders only. Besides, the main advantage of old-version support is letting folks use a packaged/preinstalled binary, and that doesn't apply on Windows. > Also, I got seriously confused at one point during these tests because, > while our configure script carefully sets PERL to an absolute path name, > it's content to set PROVE to "prove", paying no attention to whether > that version of "prove" matches "perl". Is it really okay to run the > TAP tests with a different perl version than we selected for other > purposes? Typically yes, though one can construct exceptions. > I think it'd be a good idea to insist that "prove" be in > the same directory we found "perl" in. Nah; on my machines, I use /usr/bin/perl and ~/sw/cpan/bin/prove. The latter is built against the former, so there's no particular hazard. nm -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers