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 1qyuIy-00Bxfb-LD for pgsql-general@arkaria.postgresql.org; Fri, 03 Nov 2023 13:33:44 +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 1qyuIv-000eRu-TC for pgsql-general@arkaria.postgresql.org; Fri, 03 Nov 2023 13:33:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyuIv-000eRl-Dj for pgsql-general@lists.postgresql.org; Fri, 03 Nov 2023 13:33:41 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qyuIs-003lly-UA for pgsql-general@lists.postgresql.org; Fri, 03 Nov 2023 13:33:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=ZZg/DnmyRRz/oz1h4lPdSMOVAognLNyBhXyhSta2+jI=; b=zB95S wWVi1g2zP6q6FqQZFoCDwBm8f4/cd5M+Zqkjnp4bpC9qo6fqS/X12xsYtHVjHbTVpxxstzAeE67c8 rNCAPhdWO3UoyGbetK54ZwvWumHk6L8lky32/nS7yirUsYMJa+sdcwT4/Eyg5lSmElyWnksKElQAZ CMhoTiNgioJKO/We1w6UuGuEMG88Dpjfckrv20uPCUkL0AQmANoxsQmKuSVtwykfazxdhRffXCGNq H7UxYlVkm1Tf9swQEleoL0M2H2ln0vcHMAK3RWtZyeUylSXkzuz1Kh7TO86s1EiQzeozNwq5G2l7f LfApeSDMNGlrDbU0iHsQNScd1SKCw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qyuIr-00F5Xt-2y; Fri, 03 Nov 2023 09:33:37 -0400 Date: Fri, 3 Nov 2023 09:33:37 -0400 From: Bruce Momjian To: Ben Hancock Cc: PostgreSQL-General Subject: Re: Local postgres manual Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Nov 3, 2023 at 06:18:19AM -0700, 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? 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. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.