]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix examples of how to use "su" while starting the server.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:11 +0000 (13:53 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Sep 2012 17:53:11 +0000 (13:53 -0400)
commit3b6460ab6f8ff935d31450bd5dd6aaa55f1ea60e
treee0ef174b399a31ba32c6ddc8dc5ad7cc2d5ead60
parent891155af45c1a6beb40daa67daf32f54b321fcc5
Fix examples of how to use "su" while starting the server.

The syntax "su -c 'command' username" is not accepted by all versions of
su, for example not OpenBSD's.  More portable is "su username -c
'command'".  So change runtime.sgml to recommend that syntax.  Also,
add a -D switch to the OpenBSD example script, for consistency with other
examples.  Per Denis Lapshin and Gábor Hidvégi.
doc/src/sgml/runtime.sgml