Re: CREATE STATISTICS documentation bug
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-07-06T20:59:20Z
Lists: pgsql-hackers
On 2019-06-14 23:04, Alvaro Herrera wrote: > 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? 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
Commits
-
psql: Fix logging output format
- 3f3542621f13 13.0 landed
- d8ec5ebaea44 12.0 landed
-
Fix incorrect CREATE STATISTICS example in docs
- 7f44efa10b6e 12.0 landed