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 1rx8yi-006ckC-UU for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 17:21:49 +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 1rx8yg-00DDIL-14 for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 17:21:46 +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 1rx8ye-00DDI7-5b for pgsql-hackers@lists.postgresql.org; Wed, 17 Apr 2024 17:21:45 +0000 Received: from fout3-smtp.messagingengine.com ([103.168.172.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx8yZ-001UbU-Im for pgsql-hackers@postgresql.org; Wed, 17 Apr 2024 17:21:43 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 99EA413800D8; Wed, 17 Apr 2024 13:21:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 17 Apr 2024 13:21:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1713374496; x=1713460896; bh=MG6NSLIAu+ BFJiAw2RZ1r/W/uCMsjOJUCNVtjAnH/Hc=; b=TyOkxXGLrzrhG8k6IVUpQYsFG/ 5QG4JdSTKwrSMMrlgLHTFdztbE0E3JjiYlThe1KZVN6cq7nLSzuWoIOLkr28TWuv 75hDKQicfF7JCNjGzrIu+Rmhr5Q2Wuqsup/nqgNfJqYo6KD48pkFjztY2EYjeHbr 4Hfkvb8zAVbZrHMwJTdX6nE97gkulCHU1mrNrJdr87xFOI6CaTMsS2i6WYIjcGwD DV9waELazxnf/GsISammmM+UTHGPd4uKzt/Fk2CznQAt7P0Wl22ZXJ0sflpt8uHV sKRAUP6zSyVNy+7IHREiFNTL9323CN+iMJaY/GV8ZScPlNLGvph3Fj6Qw06Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713374496; x=1713460896; bh=MG6NSLIAu+BFJiAw2RZ1r/W/uCMs jOJUCNVtjAnH/Hc=; b=Oq1+mbOFubqmldZxSh9j/U3Pam89rkk6q0AtYVXoo/3a X++mt40rPvpf/rPk/QWt7anSD35d2d4XxqvOfnavPYJ4Z19Q3EKxfN5oUCJKLY3e tm4AgYPNRM/CGODF3TI9x9GXt3Eb5Yt4wUybE+TPS6gdWrAcd3ObGvacVOEPh4H6 n6jEth2MVLVlap0pdi2/7fe8Nu3IVuP4YanVqxQ9XWwQNKdUsXpgcwRQTpwOaeI7 S4CnHbgo+AOo+1xdPZpGhXgw3Mo486x3dol1I6wxDQRJxrdQ+qxa61HYc8w3lNPA FkqVbdAJYAGmHIL6evpSDCHsV0o7KJeEj05tHFE9vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejkedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Apr 2024 13:21:35 -0400 (EDT) Date: Wed, 17 Apr 2024 10:21:34 -0700 From: Andres Freund To: Corey Huinker Cc: Bruce Momjian , Tom Lane , Andrew Dunstan , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: documentation structure Message-ID: <20240417172134.4qeuadt7kyg6ewfi@awork3.anarazel.de> References: <20240416182310.2j6g5fqqcwi4s6wm@awork3.anarazel.de> <1355791.1713294332@sss.pgh.pa.us> 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 Hi, On 2024-04-17 02:46:53 -0400, Corey Huinker wrote: > > > This sounds to me like it would be a painful exercise with not a > > > lot of benefit in the end. > > > > Maybe we could _verify_ the contents of func.sgml against pg_proc. > > > > All of the functions redefined in catalog/system_functions.sql complicate > using pg_proc.dat as a doc generator or source of validation. We'd probably > do better to validate against a live instance, and even then the benefit > wouldn't be great. There are 80 'CREATE OR REPLACE's in system_functions.sql, 1016 occurrences of func_table_entry in funcs.sgml and 3.3k functions in pg_proc. I'm not saying that differences due to system_functions.sql wouldn't be annoying to deal with, but it'd also be far from the end of the world. Greetings, Andres Freund