pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: CREATE STATISTICS documentation bug
Date: Fri, 14 Jun 2019 17:04:14 -0400
Message-ID: <20190614210414.GA8323@alvherre.pgsql> (raw)
In-Reply-To: <11347.1560545315@sss.pgh.pa.us>

On 2019-Jun-14, Tom Lane wrote:

> Alvaro Herrera <alvherre@2ndquadrant.com> 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





view thread (8+ messages)  latest in thread

Message-ID: <20190614210414.GA8323@alvherre.pgsql>
Permalink:  ../20190614210414.GA8323@alvherre.pgsql/
Also on:    postgresql.org/message-id/20190614210414.GA8323@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: CREATE STATISTICS documentation bug
  In-Reply-To: <20190614210414.GA8323@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox