Commit 765525c8 authored by Peter Eisentraut's avatar Peter Eisentraut

pg_restore: Make not verbose by default

This was accidentally changed in
cc8d4151.
Reported-by: default avatarChristoph Berg <myon@debian.org>
parent bdf35744
...@@ -131,6 +131,7 @@ main(int argc, char **argv) ...@@ -131,6 +131,7 @@ main(int argc, char **argv)
}; };
pg_logging_init(argv[0]); pg_logging_init(argv[0]);
pg_logging_set_level(PG_LOG_WARNING);
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_dump")); set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_dump"));
init_parallel_dump_utils(); init_parallel_dump_utils();
...@@ -250,6 +251,7 @@ main(int argc, char **argv) ...@@ -250,6 +251,7 @@ main(int argc, char **argv)
case 'v': /* verbose */ case 'v': /* verbose */
opts->verbose = 1; opts->verbose = 1;
pg_logging_set_level(PG_LOG_INFO);
break; break;
case 'w': case 'w':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment