psql: Fix logging output format
authorPeter Eisentraut <[email protected]>
Sat, 6 Jul 2019 12:58:08 +0000 (14:58 +0200)
committerPeter Eisentraut <[email protected]>
Sat, 6 Jul 2019 12:58:08 +0000 (14:58 +0200)
commitd8ec5ebaea4455a5b19fa1bc8ec6eb299e93e835
tree62e02d7a03c2f47f561a669b4ba63bc7bf6dbf00
parente5eba10d79bd8d919a5e8594d809cd99abd09f01
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
src/bin/psql/startup.c