Skip to content

Commit 78b408a

Browse files
committed
Avoid accidental wildcard expansion in msys shell
Commit f092de0 added a test for pg_dumpall --exclude-database including the wildcard pattern '*dump*' which matches some files in the source directory. The test library on msys uses the shell which expands this and thus the program gets incorrect arguments. This doesn't happen if the pattern doesn't match any files, so here the pattern is set to '*dump_test*' which is such a pattern. Per buildfarm animal jacana.
1 parent ed4653d commit 78b408a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
pg_dumpall_exclude => {
228228
dump_cmd => [
229229
'pg_dumpall', '-v', "--file=$tempdir/pg_dumpall_exclude.sql",
230-
'--exclude-database', '*dump*', '--no-sync',
230+
'--exclude-database', '*dump_test*', '--no-sync',
231231
],
232232
},
233233
no_blobs => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy