postgresql/src
Tom Lane a00c583147 Make initdb's suggested "pg_ctl start" command line more reliable.
The original coding here was not nearly careful enough about quoting
special characters, and it didn't get corner cases right for constructing
the pg_ctl path either.  Use join_path_components() and appendShellString()
to do it honestly, so that the string will more likely work if blindly
copied-and-pasted.

While at it, teach appendShellString() not to quote strings that clearly
don't need it, so that the output from initdb doesn't become uglier than
it was before in typical cases where quoting is not needed.

Ryan Murphy, reviewed by Michael Paquier and myself

Discussion: <CAHeEsBeAe1FeBypT3E8R1ZVZU0e8xv3A-7BHg6bEOi=jZny2Uw@mail.gmail.com>
2016-08-20 15:05:25 -04:00
..
backend Use LEFT JOINs in some system views in case referenced row doesn't exist. 2016-08-19 17:13:47 -04:00
bin Make initdb's suggested "pg_ctl start" command line more reliable. 2016-08-20 15:05:25 -04:00
common pgindent run for 9.6 2016-06-09 18:02:36 -04:00
fe_utils Make initdb's suggested "pg_ctl start" command line more reliable. 2016-08-20 15:05:25 -04:00
include Use LEFT JOINs in some system views in case referenced row doesn't exist. 2016-08-19 17:13:47 -04:00
interfaces Automate the maintenance of SO_MINOR_VERSION for our shared libraries. 2016-08-16 13:58:54 -04:00
makefiles Fix typos in comments and doc 2016-01-28 16:47:36 +09:00
pl In plpgsql, don't try to convert int2vector or oidvector to expanded array. 2016-08-18 14:49:08 -04:00
port Stamp HEAD as 10devel. 2016-08-15 13:49:49 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Use LEFT JOINs in some system views in case referenced row doesn't exist. 2016-08-19 17:13:47 -04:00
timezone Update time zone data files to tzdata release 2016f. 2016-08-05 12:59:29 -04:00
tools Automate the maintenance of SO_MINOR_VERSION for our shared libraries. 2016-08-16 13:58:54 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create src/fe_utils/, and move stuff into there from pg_dump's dumputils. 2016-03-24 15:55:57 -04:00
Makefile.global.in Provide and use a makefile target to build all generated headers. 2016-07-01 15:09:02 -04:00
Makefile.shlib Make the AIX case of Makefile.shlib safe for parallel make. 2016-07-23 20:30:03 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00