Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2yZu-0008Jb-BB for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 16:14:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m2yZs-0005Kj-Ff for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 16:14:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2yZs-0005IQ-6B for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 16:14:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m2yZq-0000wk-8p for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 16:14:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16CGEaqh2981297; Mon, 12 Jul 2021 12:14:36 -0400 From: Tom Lane To: "David G. Johnston" cc: Dean Rasheed , David Rowley , "pgsql-generallists.postgresql.org" Subject: Re: Undocumented array_val[generate_series(...)] functionality? In-reply-to: References: <2947769.1626100021@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Mon, 12 Jul 2021 07:42:55 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2981295.1626106476.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 12 Jul 2021 12:14:36 -0400 Message-ID: <2981296.1626106476@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > I agree the material in Extending SQL - SQL Functions, plus normal > expectations, mean that we do indeed cover the topic sufficiently. The > location and specifics of the material and use of cross-references could > use some attention though its also not an area that gets too many questions > so people are figuring this all out one way or another (or not finding a > need and just don’t know what they are missing…) Yeah, there is a lot of material in that chapter that is about using functions, not just writing them. I don't think anyone's entirely happy about the current factorization of those parts of the manual; but it's not entirely clear how to make it better, either. regards, tom lane