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 1jO6y3-0007Xi-45 for pgsql-committers@arkaria.postgresql.org; Mon, 13 Apr 2020 21:50:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jO6y1-0001Oy-L3 for pgsql-committers@arkaria.postgresql.org; Mon, 13 Apr 2020 21:50:09 +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 1jO6y1-0001Or-F0 for pgsql-committers@lists.postgresql.org; Mon, 13 Apr 2020 21:50:09 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jO6xu-0001ZW-6i for pgsql-committers@lists.postgresql.org; Mon, 13 Apr 2020 21:50:08 +0000 Received: by mail-qk1-x741.google.com with SMTP id v7so11260495qkc.0 for ; Mon, 13 Apr 2020 14:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=q22EjEhZkWJutefslaL/OGLHhUyd2bFaxlcSiEvQZFs=; b=07uM6xPhcRWtUmXyubbPj/RwSNX8C5gS18namLU3GWGcPtp815cnBOjgXyRaxUy4V3 8Gv16uwmcOr83bLLasigFL2MY1LDdjL+dC+tHdP1Nus80KPkwjxpd32rjISFm5yAvgHL xXNS1W/rLID3NtEi3nQZphG4OicU/yVeC5AMl7B2WPoqaiPpstnHOu0obSjDl+iZb6oq 7XEW+9qlLEH2byB8sx+2OBQTGVBO2ucLKVj/VnRozh/ex6NncWFVcyHma/VaOxsJ9EAi zO08y5O/2BiqvXWqLDJQQN/ln8QCaI+egvuRiC4zEokEpkyKz2H19x5J8o5TOIHPFI5x EeKw== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=q22EjEhZkWJutefslaL/OGLHhUyd2bFaxlcSiEvQZFs=; b=Yk99NLPFNHy5DTWSYorJQdJemDB3FusWccmps1zEII/mtd3vhajkZMJtrCHIfO3oE+ SDWhqGFHGuejsuGOPXareT81V2qNHNuc9sugUVhjSCH9XBvmdjuYGZtjFbxzRmSfiExl /75Ve/WqhYiCnU09W3dDusLIkhm2YgFuemLcBBW4Kvtz3ZDsec+JXVEfNi+HcKcG3sH/ IHuoDIrc8azfRQuQsVWPMLHIvF8bvrAmcHioSkCT6NTGCHE54FKq9bcYvzO0JgKrKOna dJHZxOhmb9EXkE/ITNqpm+FYbbZEP+UWNEe5DSGB9FCejw1VWHoPOKT3mA5xT+BHlRtj dYaw== X-Gm-Message-State: AGi0Pub9FtcPGP1fS9aGfTsQTt5JEFZ488W5j5Hq5a96FzwiCuiDIrzA 4bULOzIbLrxRHUXNBJ/MSpuD/A== X-Google-Smtp-Source: APiQypJcOYcmF2RQyQL30Bov6gOCS9asiib5NYEVSw/x1WCXWZfskf5aiwNMixqn7b83l6siM1mPTQ== X-Received: by 2002:a37:690:: with SMTP id 138mr18768595qkg.414.1586814600219; Mon, 13 Apr 2020 14:50:00 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id h138sm9282440qke.86.2020.04.13.14.49.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Apr 2020 14:49:59 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id C6282300819; Mon, 13 Apr 2020 17:49:52 -0400 (-04) Date: Mon, 13 Apr 2020 17:49:52 -0400 From: Alvaro Herrera To: Tom Lane Cc: Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Use perl warnings pragma consistently Message-ID: <20200413214952.GA22285@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <28260.1586813631@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2020-Apr-13, Tom Lane wrote: > Andrew Dunstan writes: > > Use perl warnings pragma consistently > > This seems to have broken something or other, as I now get a bunch of > warnings while building the docs: > > ... > Use of uninitialized value within %feature_packages in concatenation (.) or string at ./mk_feature_tables.pl line 57, <$feat> line 522. > Use of uninitialized value within %feature_packages in concatenation (.) or string at ./mk_feature_tables.pl line 57, <$feat> line 524. > Use of uninitialized value within %feature_packages in concatenation (.) or string at ./mk_feature_tables.pl line 57, <$feat> line 526. > Use of uninitialized value within %feature_packages in concatenation (.) or string at ./mk_feature_tables.pl line 57, <$feat> line 528. > Use of uninitialized value within %feature_packages in concatenation (.) or string at ./mk_feature_tables.pl line 57, <$feat> line 529. This should fix it. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --8t9RHnE3ZwKMSgU+ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="defined.patch" diff --git a/doc/src/sgml/mk_feature_tables.pl b/doc/src/sgml/mk_feature_tables.pl index ee158cb196..a9dfebfbb3 100644 --- a/doc/src/sgml/mk_feature_tables.pl +++ b/doc/src/sgml/mk_feature_tables.pl @@ -54,7 +54,9 @@ while (<$feat>) { print " $feature_id\n"; } - print " " . $feature_packages{$feature_id} . "\n"; + print " ", + defined($feature_packages{$feature_id}) ? $feature_packages{$feature_id} : "", + "\n"; if ($subfeature_id) { print " $subfeature_name\n"; --8t9RHnE3ZwKMSgU+--