Teach appendShellString() to not quote strings containing "-".
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Sep 2016 18:53:31 +0000 (14:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Sep 2016 18:53:31 +0000 (14:53 -0400)
commitcdc70597c9ba62aad08a46e55c0c783bf4c21c9c
treeef00e747810fa7903d9cae725cde4f6595cae690
parenta2ee579b6def8e0bde876c6c2fc9d4b8ec2b6b67
Teach appendShellString() to not quote strings containing "-".

Brain fade in commit a00c58314: I was thinking that a string starting with
"-" could be taken as a switch depending on command line syntax.  That's
true, but having appendShellString() quote it will not help, so we may as
well not do so.  Per complaint from Peter Eisentraut.
src/fe_utils/string_utils.c