8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f2dd9 commit 9917514Copy full SHA for 9917514
doc/src/sgml/ref/pg_dump.sgml
@@ -594,6 +594,8 @@ PostgreSQL documentation
594
<application>pg_dump</application> to output detailed object
595
comments and start/stop times to the dump file, and progress
596
messages to standard error.
597
+ Repeating the option causes additional debug-level messages
598
+ to appear on standard error.
599
</para>
600
</listitem>
601
</varlistentry>
doc/src/sgml/ref/pg_dumpall.sgml
@@ -202,7 +202,9 @@ PostgreSQL documentation
202
Specifies verbose mode. This will cause
203
<application>pg_dumpall</application> to output start/stop
204
times to the dump file, and progress messages to standard error.
205
- It will also enable verbose output in <application>pg_dump</application>.
206
207
+ The option is also passed down to <application>pg_dump</application>.
208
209
210
doc/src/sgml/ref/pg_restore.sgml
@@ -483,7 +483,12 @@ PostgreSQL documentation
483
<term><option>--verbose</option></term>
484
<listitem>
485
<para>
486
- Specifies verbose mode.
+ Specifies verbose mode. This will cause
487
+ <application>pg_restore</application> to output detailed object
488
+ comments and start/stop times to the output file, and progress
489
+ messages to standard error.
490
491
492
493
494
src/bin/pg_archivecleanup/pg_archivecleanup.c
@@ -302,7 +302,7 @@ main(int argc, char **argv)
302
switch (c)
303
{
304
case 'd': /* Debug mode */
305
- pg_logging_set_level(PG_LOG_DEBUG);
+ pg_logging_increase_verbosity();
306
break;
307
case 'n': /* Dry-Run mode */
308
dryrun = true;
src/bin/pg_dump/pg_backup_archiver.c
@@ -2278,7 +2278,8 @@ _allocAH(const char *FileSpec, const ArchiveFormat fmt,
2278
2279
ArchiveHandle *AH;
2280
2281
- pg_log_debug("allocating AH for %s, format %d", FileSpec, fmt);
+ pg_log_debug("allocating AH for %s, format %d",
2282
+ FileSpec ? FileSpec : "(stdio)", fmt);
2283
2284
AH = (ArchiveHandle *) pg_malloc0(sizeof(ArchiveHandle));
2285
src/bin/pg_dump/pg_dump.c
@@ -512,7 +512,7 @@ main(int argc, char **argv)
512
513
case 'v': /* verbose */
514
g_verbose = true;
515
- pg_logging_set_level(PG_LOG_INFO);
516
517
518
case 'w':
src/bin/pg_dump/pg_dumpall.c
@@ -283,7 +283,7 @@ main(int argc, char *argv[])
283
284
case 'v':
285
verbose = true;
286
287
appendPQExpBufferStr(pgdumpopts, " -v");
288
289
src/bin/pg_dump/pg_restore.c
@@ -245,7 +245,7 @@ main(int argc, char **argv)
245
246
247
opts->verbose = 1;
248
249
250
251
src/bin/pg_rewind/pg_rewind.c
@@ -181,7 +181,7 @@ main(int argc, char **argv)
181
182
case 3:
183
debug = true;
184
185
186
187
case 'D': /* -D or --target-pgdata */
src/bin/pgbench/pgbench.c
@@ -5522,7 +5522,7 @@ main(int argc, char **argv)
5522
pgport = pg_strdup(optarg);
5523
5524
case 'd':
5525
5526
5527
case 'c':
5528
benchmarking_option_set = true;