pgsql: Fix examples of how to use "su" while starting the server.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix examples of how to use "su" while starting the server.
Date: 2012-09-25 17:53:37
Message-ID: E1TGZKD-0000H3-Vw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7d8cbeb0c3f48c6c204b742b6891a9e5e5031d15

Modified Files
--------------
doc/src/sgml/runtime.sgml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-09-25 17:53:38 pgsql: Fix examples of how to use "su" while starting the server.
Previous Message Heikki Linnakangas 2012-09-24 15:11:49 pgsql: Add support for include_dir in config file.