From: Ben Hancock <lists@benghancock.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Local postgres manual
Date: Fri, 3 Nov 2023 12:16:35 -0700
Message-ID: <2ad88fa8-e0c7-b678-232b-30af59448133@benghancock.com> (raw)
In-Reply-To: <ZUT2sbhj0g_LnVdu@momjian.us>
References: <c1e0067d-ab06-2bde-2ea9-9ace478a1191@benghancock.com>
<ZUT2sbhj0g_LnVdu@momjian.us>
On 11/3/23 06:33, Bruce Momjian wrote:
>> 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?
>
> Well, that's a good question, and a new question for me. I poked
> though the doc makefile and it turns out that:
>
> make postgres.txt
>
> creates such a file. Here is the PG 16 version:
>
> https://momjian.us/expire/postgres-16.txt
>
> Let me know if you want a different Postgres version.
Thanks very much Bruce - this is really helpful! I've never taken a look
at that makefile but will do so.
I will say that, as the manual is quite large, a local GNU Info version
would be great to be able to traverse different sections, etc, more
easily. If that doesn't exist already, I wonder if a tool like `pandoc`
could be employed to generate that.
As others on the thread have suggested, building or fetching the HTML
locally may also work. In terminal environment, I suppose one could use
`lynx` or similar to navigate around.
- Ben
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: lists@benghancock.com
Subject: Re: Local postgres manual
In-Reply-To: <2ad88fa8-e0c7-b678-232b-30af59448133@benghancock.com>
References: <c1e0067d-ab06-2bde-2ea9-9ace478a1191@benghancock.com> <ZUT2sbhj0g_LnVdu@momjian.us> <2ad88fa8-e0c7-b678-232b-30af59448133@benghancock.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox