Re: CREATE STATISTICS documentation bug - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: CREATE STATISTICS documentation bug
Date
Msg-id 20190614210414.GA8323@alvherre.pgsql
Whole thread Raw
In response to Re: CREATE STATISTICS documentation bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE STATISTICS documentation bug
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Draft back-branch release notes are up for review
Next
From: Alvaro Herrera
Date:
Subject: Re: fix psql \conninfo & \connect when using hostaddr