Thread: pgsql: Teach appendShellString() to not quote strings containing "-".

pgsql: Teach appendShellString() to not quote strings containing "-".

From
Tom Lane
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cdc70597c9ba62aad08a46e55c0c783bf4c21c9c

Modified Files
--------------
src/fe_utils/string_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)