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