Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGWFM-0001c4-9H for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Oct 2019 22:40:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGWFJ-00073R-ML for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Oct 2019 22:40:21 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGWFJ-00072y-9M for pgsql-hackers@lists.postgresql.org; Fri, 04 Oct 2019 22:40:21 +0000 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGWFE-0004H1-F1 for pgsql-hackers@lists.postgresql.org; Fri, 04 Oct 2019 22:40:19 +0000 Received: by mail-io1-xd41.google.com with SMTP id n26so16851858ioj.8 for ; Fri, 04 Oct 2019 15:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BsuSU//ocVBiGbGCnMy8PMqon4mxhVxjfr/vpIpisb0=; b=A7K5JmqDv+CcinupIpY4fDuVOmfNLQC9CLTdVio+5Qui6npPsxP3u3AB8f29XuD/vN SaW9WB4cv97A8qQ+BpB/iNJN06u4UGTtBJCw9y2kOcsh3kuQ9k/zEIO7LIFAKpeHYKGL EmSRqJScAAtBWMeK40NXe/Wdj+UCdPfo371PAd9eKEdVLq7eCMMDXS9PLuiHAdDN6F90 1kI2pln1tldU4SCUTkAlc3BAoneIUXZV+qcPe64ZN7xdoyrz1HeGOoCXrn1Azyfmbo/y oOGy/qNnY8HkLO/qaRBmuhjA8gpf/eIdhPWaFnaNQuDeYaEz0I4inUb/CsKnroxBHyxE M7Hw== 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=BsuSU//ocVBiGbGCnMy8PMqon4mxhVxjfr/vpIpisb0=; b=daJ4lfleO8U/XyFoW1olwp/By7Ol/eEvVPjsakJuA8hG3Fzb4v1Gwgt4Qfi6wD94wC zanjUWSVR0sKayEGRDoxp7qHGlZnX2xpOV/7HN1kQi844MgUiXsJUc0tUzk+DHPO6brw dO2TYgz4RU5vfLT88KsXTaSuOq6oQIElSjNZEVm17KHdQ/gqSr8QmpVXZFiijnq/zUqC uDF7GO5jnMqLR43ItkTcsWkhjHzJkiw8BnUNC/jwasVnB2y068prPBdoJojj9P7zHhY7 I0eFXxikwtn2DjLFFdr7auY0FT31gnfjxyMaFb3iKz+6FnOGmzlFueEXcu6+ajVQ/2xZ 7YTw== X-Gm-Message-State: APjAAAVYdxYmIKZjvrf+3sNSZ6av6fMXLM+9dXj7tFO187gpWn7MxQh3 VW73f8uRZiAG9UQEa9B8uCVbb636Xpk= X-Google-Smtp-Source: APXvYqx5EMRcPFDcsaMbA95yUPzQ6vmW9IQTT3DR82fXNUEYdPtljHOpRFt2orVdJxi8HuOFP0g2+Q== X-Received: by 2002:a5e:9911:: with SMTP id t17mr2528692ioj.283.1570228813161; Fri, 04 Oct 2019 15:40:13 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id i14sm3155946ilq.38.2019.10.04.15.40.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2019 15:40:12 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id 790778009A7; Fri, 4 Oct 2019 17:40:08 -0500 (CDT) Date: Fri, 4 Oct 2019 17:40:08 -0500 From: Justin Pryzby To: Bruce Momjian Cc: pgsql-hackers@lists.postgresql.org, Daniel Gustafsson Subject: Re: format of pg_upgrade loadable_libraries warning Message-ID: <20191004224008.GQ11241@telsasoft.com> References: <20191002172337.GC9680@telsasoft.com> <20191004213746.GD29227@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191004213746.GD29227@momjian.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Oct 04, 2019 at 05:37:46PM -0400, Bruce Momjian wrote: > On Wed, Oct 2, 2019 at 12:23:37PM -0500, Justin Pryzby wrote: > > Regarding the previous thread and commit here: > > https://www.postgresql.org/message-id/flat/20180713162815.GA3835%40momjian.us > > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=60e3bd1d7f92430b24b710ecf0559656eb8ed499 > > > > I'm suggesting to reformat the warning, which I found to be misleading: > > Understood. This is a general problem with the way pg_upgrade displays > errors and the databases/objects associated with them. The attached > patch fixes the output text to say "in database", e.g.: > > Could not load library "$libdir/pgfincore": ERROR: could not access file "$libdir/pgfincore": No such file or directory > in database: postgres > in database: too > > Would intenting help too? I am inclined to fix this only head, and not > to backpatch the change. Yes, indenting would also help. I would argue to include in 12.1, since 12 is what most everyone will use for upgrades, and patch for .1 will help people upgrading for 11 of the next 12 months. (But, your patch is more general than mine). Thanks, Justin