1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

doc: document MANPATH as /usr/local/pgsql/share/man

The docs were advising to use /usr/local/pgsql/man instead, but that's
wrong.

Reported-By: Slawomir Sudnik
Backpatch-To: 9.1
Bug: #13894
This commit is contained in:
Alvaro Herrera
2016-02-29 17:53:55 -03:00
parent 0a20d07ea6
commit 8504ec929d

View File

@ -1793,7 +1793,7 @@ set path = ( /usr/local/pgsql/bin $path )
shell start-up file unless you installed into a location that is
searched by default:
<programlisting>
MANPATH=/usr/local/pgsql/man:$MANPATH
MANPATH=/usr/local/pgsql/share/man:$MANPATH
export MANPATH
</programlisting>
</para>
@ -2738,13 +2738,13 @@ PHSS_30849 s700_800 u2comp/be/plugin library Patch
<para>
By default, the PostgreSQL man pages are installed into
<filename>/usr/local/pgsql/man</filename>. By default, UnixWare
<filename>/usr/local/pgsql/share/man</filename>. By default, UnixWare
does not look there for man pages. To be able to read them you
need to modify the
<varname>MANPATH</varname> variable
in <filename>/etc/default/man</filename>, for example:
<programlisting>
MANPATH=/usr/lib/scohelp/%L/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp:/usr/local/man:/usr/local/pgsql/man
MANPATH=/usr/lib/scohelp/%L/man:/usr/dt/man:/usr/man:/usr/share/man:scohelp:/usr/local/man:/usr/local/pgsql/share/man
</programlisting>
</para>