psql: Fix logging output format

Peter Eisentraut <peter@eisentraut.org>

Commit: d8ec5ebaea4455a5b19fa1bc8ec6eb299e93e835
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2019-07-06T12:58:08Z
Releases: 12.0
psql: Fix logging output format

In normal interactive mode, psql's log messages accidentally got a
"psql:" prefix that was not supposed to be there.  This only happened
if there was no .psqlrc file being read, so it wasn't discovered for a
while.  Fix this by adding the appropriate logging format
configuration call in the right code path.

Discussion: https://www.postgresql.org/message-id/7586.1560540361@sss.pgh.pa.us

Files

PathChange+/−
src/bin/psql/startup.c modified +1 −0

Discussion