Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyuUp-00Bz1E-SC for pgsql-general@arkaria.postgresql.org; Fri, 03 Nov 2023 13:45:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qyuUo-000kiP-94 for pgsql-general@arkaria.postgresql.org; Fri, 03 Nov 2023 13:45:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyuUn-000kiH-Uc for pgsql-general@lists.postgresql.org; Fri, 03 Nov 2023 13:45:57 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyuUk-004V4D-UE for pgsql-general@lists.postgresql.org; Fri, 03 Nov 2023 13:45:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=i/X2B10CP9m/XHL12oCGQAYATauN+XDO0cEvnpkpG38=; b=tmfFWtDB8p/iC966FdqUW+yiQl KwAemmcHTOhG2u1gUR8kCwuafXrxfZTw1DzC6OORqEh6dfmPfow2p4ayWnUA+la5urDXqt/sCgH1P 7gmSIi/DOo9MXlgbrx9gMMa9oEMZvqG6gvn5jI9A/Gac1SiuCdjweXdqk4/pG74ol+IKDjSVqiNrk zMac6VlvvoAmgHW5pvftgNpL37w6hVpOZgZgwQ9MntzTiSbvQvQ5mNI5mKrS0r7uQcLYRSFJPqJn/ VcCs7iHcj7hV5bnRCcFtj8FibDfmsQ/BqaVzqE03QG2Ft9/IsQ3W3VldYV/aFbnTGWfQSU7UODzXl S7YXw8mg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qyuUi-00FRyq-30; Fri, 03 Nov 2023 09:45:52 -0400 Date: Fri, 3 Nov 2023 09:45:52 -0400 From: Bruce Momjian To: Philip Semanchuk Cc: Ben Hancock , PostgreSQL-General Subject: Re: Local postgres manual Message-ID: References: <9A7961AB-A40A-4E06-9F9F-A2D96BBDE5D3@americanefficient.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9A7961AB-A40A-4E06-9F9F-A2D96BBDE5D3@americanefficient.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Nov 3, 2023 at 09:39:46AM -0400, Philip Semanchuk wrote: > > > > On Nov 3, 2023, at 9:18 AM, Ben Hancock 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 https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.