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 1hbtN6-0003Np-82 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2019 21:04:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hbtN4-0005Fi-Hz for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Jun 2019 21:04:26 +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 1hbtN4-0005Fa-91 for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2019 21:04:26 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hbtMx-0002Gs-2y for pgsql-hackers@lists.postgresql.org; Fri, 14 Jun 2019 21:04:25 +0000 Received: by mail-qt1-x841.google.com with SMTP id h21so4057964qtn.13 for ; Fri, 14 Jun 2019 14:04:18 -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=jcwRzzdRPASukgr/IiVnvJ228iw9WDj/XcY2zYd5TR0=; b=SX4lQbIMvX6OFB0s9XMnsiHdDKabDcpTqgPz1+GYax6wCTwpyM5TcetsjH6hCZZmmJ Ik5IP4PZW312U5vH5CqRz7OQ5+a9HO8m8QnBFihNIhF/88PY/gYzvjLrtyWeI2RynWim k0R9A+BzT2EIV6lrddz1h/YPbCeWhMH8jcatImAR15qNYn/TdrohCOmwQeA2FO+aUygP HUQlNWVWkdco2ByG5MFIYXP73E0bC+3omqtmf+MDnJW81FniS+9V1H1mYljMj+GjwYvB WpklF/YCNHKhsLdtpnKPD7X93Ex7qcEEX22iIY2PHJDvPppiV5RY+tLEvmPAI4EepeJo KdNw== 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=jcwRzzdRPASukgr/IiVnvJ228iw9WDj/XcY2zYd5TR0=; b=VsZIl1X6Ada0CEkputq66YvDtJyw+hk1DuWYlCQG6Mpc5bbsRG9JuY19t+P/97rLLo DoZeRLNu8M/+l9Lgc0NNfrvCeZnxNcFrWJxVhENjWh1491ha5Ys4W+URhXnCYcigSB9k Y2NGmQSSJBqUnK6ZHqRvj6mr//f3Ggs4y0t8aZhB4auX8gGl/IS2rLLpWsNY0L3i1a/U 5YGevOBGNoVjm+zTvNlNBa+3qWbqw1WO91fzxLZXuiUXZefVPN7Dm1wWmPl7D3wRxdrx QZlB0bOqaVTV0HIp2PBPo08dTBsqA46aNylV/qQXRh1I+BS2JT50heRwCj6YxTtHSE8+ /kTQ== X-Gm-Message-State: APjAAAX9YOFQEmeKhMk3g7ec7xhtfo+iBepFYD2srN8kJ8GbqjgPb05W jfb79+cZlM2ZXLq8nuNH1V7ItQ== X-Google-Smtp-Source: APXvYqy10sHbz8gnUnDHr5RNL6qBNqSFMPz606r3mfT0MjxhhOwzQ2Nc8HhZm9uWpS15oLYV80UvJw== X-Received: by 2002:a0c:c586:: with SMTP id a6mr7907064qvj.177.1560546257157; Fri, 14 Jun 2019 14:04:17 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id a139sm2253097qkb.48.2019.06.14.14.04.16 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 14:04:16 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 376921202C7; Fri, 14 Jun 2019 17:04:14 -0400 (-04) Date: Fri, 14 Jun 2019 17:04:14 -0400 From: Alvaro Herrera To: Tom Lane Cc: Robert Haas , PostgreSQL Hackers Subject: Re: CREATE STATISTICS documentation bug Message-ID: <20190614210414.GA8323@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <11347.1560545315@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Jun-14, Tom Lane wrote: > Alvaro Herrera writes: > > Proposal: each program declares at startup whether it wants the program > > name prefix or not. > > Well, to clarify: I think it's reasonable to include "psql: " if the > message is originating in psql. So I don't think your idea quite > does what we want. Hmm, it doesn't. Maybe the error reporting API needs a bit of a refinement to suppress the prefix for specific error callsites, then? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services