Re: Local postgres manual

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Philip Semanchuk <philip(at)americanefficient(dot)com>
Cc: Ben Hancock <lists(at)benghancock(dot)com>, PostgreSQL-General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Local postgres manual
Date: 2023-11-03 13:45:52
Message-ID: ZUT5kPLotZCs6IuZ@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 3, 2023 at 09:39:46AM -0400, Philip Semanchuk wrote:
>
>
> > On Nov 3, 2023, at 9:18 AM, Ben Hancock <lists(at)benghancock(dot)com> wrote:
> >
> > Hi all:
> >
> > Does Postgres come with a local, full version of the manual installed
> > by default anywhere (i.e. akin to what is available on the website, but
> > in man, info, or plain-text format)? When I invoke `man postgres`, I do
> > get a very useful - but limited - manual page, which has references to chapters. For example:
> >
> > OPTIONS
> > postgres accepts the following command-line arguments. For a
> > detailed discussion of the options consult Chapter 20. ...
> >
> > Of course, I can pull up a browser and find the manual, or consult a
> > local PDF if I have a graphical display. But sometimes it may be convenient to view the the manual for the version of Postgres that is on the system, right there. Does one exist?
>
> In addition to Bruce Momjian’s suggestion, I’ll add that you can make an HTML version of the manual from the source code. This is what I use and it works great for me.

Yes, we can do HTML too as a single file, postgres.html. What I don't
see is man page output for anything but the references pages, and as
separate files. It might be possible to convert the HTML to man format
using something like html2man.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message jian he 2023-11-03 13:47:50 Re: Local postgres manual
Previous Message Philip Semanchuk 2023-11-03 13:39:46 Re: Local postgres manual