Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f35426

Browse files
committed
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 happenedif there was no .psqlrc file being read, so it wasn't discovered for awhile. Fix this by adding the appropriate logging formatconfiguration call in the right code path.Discussion:https://www.postgresql.org/message-id/7586.1560540361@sss.pgh.pa.us
1 parent78d41f6 commit3f35426

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/psql/startup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ main(int argc, char *argv[])
437437
*/
438438
else
439439
{
440+
pg_logging_config(PG_LOG_FLAG_TERSE);
440441
connection_warnings(true);
441442
if (!pset.quiet)
442443
printf(_("Type \"help\" for help.\n\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp