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 this
warrants more effort than this.)
Discussion: https://postgr.es/m/
202511251218.zfs4nu2qnh2m@alvherre.pgsql
# Test dumping pg_catalog (for research -- cannot be reloaded)
$node->command_ok(
- [ 'pg_dump', '--port' => $port, '--schema' => 'pg_catalog' ],
+ [
+ 'pg_dump',
+ '--port' => $port,
+ '--schema' => 'pg_catalog',
+ '--file' => "$tempdir/pgdump_pgcatalog.dmp"
+ ],
'pg_dump: option -n pg_catalog');
#########################################
[
'pg_dumpall',
'--port' => $port,
- '--exclude-database' => '"myhost.mydb"'
+ '--exclude-database' => '"myhost.mydb"',
+ '--file' => "$tempdir/pgdumpall.dmp"
],
'pg_dumpall: option --exclude-database handles database names with embedded dots'
);