Re: CREATE STATISTICS documentation bug

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CREATE STATISTICS documentation bug
Date: 2019-07-06 20:59:20
Message-ID: d2b0003f-6a55-f4c7-949e-09b0bc793f93@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-06-14 23:04, Alvaro Herrera wrote:
> On 2019-Jun-14, Tom Lane wrote:
>
>> Alvaro Herrera <alvherre(at)2ndquadrant(dot)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?

This was an oversight and has been fixed. (It was masked if you had a
.psqlrc, which is why I never saw it.)

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-07-06 22:02:38 Re: Multivariate MCV list vs. statistics target
Previous Message Justin Pryzby 2019-07-06 20:24:25 Re: doc: improve PG 12 to_timestamp()/to_date() wording