1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-03 22:24:49 +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 0c4457de8b
commit d288054446

View File

@ -1754,7 +1754,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>
@ -2763,13 +2763,13 @@ cc-1020 cc: ERROR File = pqcomm.c, Line = 427
<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>