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 1t0UIA-00Bh6n-Go for pgsql-docs@arkaria.postgresql.org; Mon, 14 Oct 2024 23:15:58 +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 1t0UI7-000nRW-FF for pgsql-docs@arkaria.postgresql.org; Mon, 14 Oct 2024 23:15:55 +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 1t0UI7-000nQp-7F for pgsql-docs@lists.postgresql.org; Mon, 14 Oct 2024 23:15:55 +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 1t0UI2-0015IU-Hu for pgsql-docs@lists.postgresql.org; Mon, 14 Oct 2024 23:15:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=Mb1rQf39Ent08cqYZEfYFJK35xp0OPGk+R2+fWxa0cA=; b=Ud7sA P7afJDcH6fs8m7GUFDa5RUzZhDebNW0fMLUu/acyan6m7JXx5P+CsyNL1pyfh8p0eHcMHRBhV8Vbc AX/IIfJKTMBG0pQRb4RHyZeqqcS8KGuksEWoRLskdg04oxGY8YQMNW+95xF3VjvT/Pu1PPBusB3wQ CpuxRiKITt9PYdcIls5hpJmVvWAnFsiKgUCyJJM4TxrtKaEzbalrBQ7KmIVtCnFcSTLNXnOmFPgsT 1HrwdrE3CSksutmPTnxXk9gZhy2tKCV9v77k5DRWrY4oc/k+OsTW4F/1aXP4HGGQK7pj4SIndiGcR yth//Pl8384vUcuAS+TQ9TWuWA2+g==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1t0UI2-001g47-15; Mon, 14 Oct 2024 19:15:50 -0400 Date: Mon, 14 Oct 2024 19:15:50 -0400 From: Bruce Momjian To: g***@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: Add mention to related system catalog functions on Tablespaces documentation pages. Message-ID: References: <172609721070.1128084.6724666076293146476@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <172609721070.1128084.6724666076293146476@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Sep 11, 2024 at 11:26:50PM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/16/manage-ag-tablespaces.html > Description: > > The tablespaces documentation page seems to be missing a mention to the > following functions: > pg_tablespace_databases > pg_tablespace_location > > These are documented in > https://www.postgresql.org/docs/current/functions-info.html#FUNCTIONS-INFO-CATALOG, > but I think it would be nice to add at least a brief mention (or link) to > them in the main tablespace docs. The following query is especially helpful > when troubleshooting issues with tablespaces: > > postgres=# SELECT *, pg_tablespace_location(oid) FROM pg_tablespace; > > It would be beneficial, in my opinion, to use it as an additional example to > the one that is currently shown. Yes, very good points. I have developed the attached patch which I think achieves the goals you mentioned. I plan to apply the patch for master/PG 18. I also removed the unnecessary mention of PG 9.1. Seems the reply email address is g***@gmail.com, which seems like some kind of mistake. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"