pgsql: psql: Fix logging output format - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: psql: Fix logging output format
Date
Msg-id E1hjkMc-00007e-IN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d8ec5ebaea4455a5b19fa1bc8ec6eb299e93e835

Modified Files
--------------
src/bin/psql/startup.c | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add missing assertions for required table am callbacks.
Next
From: Tom Lane
Date:
Subject: pgsql: In pg_log_generic(), be more paranoid about preserving errno.