pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Avoid accidental wildcard expansion in msys shell
Date: Sun, 03 Mar 2019 17:05:42 +0000
Message-ID: <E1h0UYY-0007x8-DF@gemulon.postgresql.org> (raw)

Avoid accidental wildcard expansion in msys shell

Commit f092de05 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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78b408a20a5a19486f0ed833466d0de342c7e471

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1h0UYY-0007x8-DF@gemulon.postgresql.org>
Permalink:  ../E1h0UYY-0007x8-DF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h0UYY-0007x8-DF@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Avoid accidental wildcard expansion in msys shell
  In-Reply-To: <E1h0UYY-0007x8-DF@gemulon.postgresql.org>
  References: <E1h0UYY-0007x8-DF@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox