mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Promote pg_dumpall shell/connstr quoting functions to src/fe_utils.
Rename these newly-extern functions with terms more typical of their new neighbors. No functional changes; a subsequent commit will use them in more places. Back-patch to 9.1 (all supported versions). Back branches lack src/fe_utils, so instead rename the functions in place; the subsequent commit will copy them into the other programs using them. Security: CVE-2016-5424
This commit is contained in:
@ -7,7 +7,8 @@
|
||||
* Win32 needs double quotes at the beginning and end of system()
|
||||
* strings. If not, it gets confused with multiple quoted strings.
|
||||
* It also requires double-quotes around the executable name and
|
||||
* any files used for redirection. Other args can use single-quotes.
|
||||
* any files used for redirection. Filter other args through
|
||||
* appendShellString() to quote them.
|
||||
*
|
||||
* Generated using Win32 "CMD /?":
|
||||
*
|
||||
|
Reference in New Issue
Block a user