Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Promote pg_dumpall shell/connstr quoting functions to src/fe_utils. | Noah Misch | 2016-08-08 |
| | | | | | | | | | | 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 | ||
* | Update copyright for 2016 | Bruce Momjian | 2016-01-02 |
| | | | | Backpatch certain files through 9.1 | ||
* | Update copyright for 2015 | Bruce Momjian | 2015-01-06 |
| | | | | Backpatch certain files through 9.0 | ||
* | Replace SYSTEMQUOTEs with Windows-specific wrapper functions. | Heikki Linnakangas | 2014-05-05 |
It's easy to forget using SYSTEMQUOTEs when constructing command strings for system() or popen(). Even if we fix all the places missing it now, it is bound to be forgotten again in the future. Introduce wrapper functions that do the the extra quoting for you, and get rid of SYSTEMQUOTEs in all the callers. We previosly used SYSTEMQUOTEs in all the hard-coded command strings, and this doesn't change the behavior of those. But user-supplied commands, like archive_command, restore_command, COPY TO/FROM PROGRAM calls, as well as pgbench's \shell, will now gain an extra pair of quotes. That is desirable, but if you have existing scripts or config files that include an extra pair of quotes, those might need to be adjusted. Reviewed by Amit Kapila and Tom Lane |