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

Commit33bb3dc

Browse files
committed
pg_dump tests: don't put dumps in stdout
This bloats the regression log files for no reason.Backpatch to 18; no further only because it fails to apply cleanly.(It's just whitespace change that conflicts, but I don't think thiswarrants more effort than this.)Discussion:https://postgr.es/m/202511251218.zfs4nu2qnh2m@alvherre.pgsql
1 parent417ac9c commit33bb3dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎src/bin/pg_dump/t/002_pg_dump.pl‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5019,7 +5019,12 @@
50195019
# Test dumping pg_catalog (for research -- cannot be reloaded)
50205020
50215021
$node->command_ok(
5022-
[ 'pg_dump', '--port' =>$port, '--schema' => 'pg_catalog' ],
5022+
[
5023+
'pg_dump',
5024+
'--port' =>$port,
5025+
'--schema' => 'pg_catalog',
5026+
'--file' => "$tempdir/pgdump_pgcatalog.dmp"
5027+
],
50235028
'pg_dump: option -n pg_catalog');
50245029
50255030
#########################################
@@ -5029,7 +5034,8 @@
50295034
[
50305035
'pg_dumpall',
50315036
'--port' =>$port,
5032-
'--exclude-database' => '"myhost.mydb"'
5037+
'--exclude-database' => '"myhost.mydb"',
5038+
'--file' => "$tempdir/pgdumpall.dmp"
50335039
],
50345040
'pg_dumpall: option --exclude-database handles database names with embedded dots'
50355041
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp