]> granicus.if.org Git - postgresql/commit
psql: Fix logging output format
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 6 Jul 2019 12:58:08 +0000 (14:58 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sat, 6 Jul 2019 13:03:17 +0000 (15:03 +0200)
commit3f3542621f131379e32e9283d40853cb6d03a97f
tree87d7b9af32d294081b95d6444da2f8ce839ebae3
parent78d41f6c9b0e1c4bd28f9b80cd07c7530660312f
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