pgsql: Fix examples of how to use "su" while starting the server. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix examples of how to use "su" while starting the server.
Date
Msg-id E1TGZKE-0000H7-2O@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Add support for include_dir in config file.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix examples of how to use "su" while starting the server.