pg_restore: Make not verbose by default
This was accidentally changed in cc8d41511721d25d557fc02a46c053c0a602fed0. Reported-by: Christoph Berg <myon@debian.org>
This commit is contained in:
parent
bdf35744bd
commit
765525c8c2
@ -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)
|
|||||||
|
|
||||||
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':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user