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:38
Message-ID: E1TGZKE-0000H7-2O@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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/bc99397563ff88c31078d4bf66b8538c78a08bda

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

Browse pgsql-committers by date

  From Date Subject
Next Message User Uwebartels 2012-09-25 18:24:47 pgstatspack - pgstatspack: bugfix typos
Previous Message Tom Lane 2012-09-25 17:53:37 pgsql: Fix examples of how to use "su" while starting the server.