Re: Undocumented array_val[generate_series(...)] functionality? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Undocumented array_val[generate_series(...)] functionality?
Date
Msg-id CAKFQuwa96mBHgQ8oPYWx2hQeu+jrjmuRy-DEVaBYFc3x2DrHMQ@mail.gmail.com
Whole thread Raw
In response to Re: Undocumented array_val[generate_series(...)] functionality?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Undocumented array_val[generate_series(...)] functionality?
List pgsql-general
On Monday, July 12, 2021, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Still, I'm with David that no new docs
are needed.  IMO the former restriction was the surprising thing, and
the current behavior is simply what one would expect from assembling
those parts in that order.


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…)

It doesn’t really fit that well in a syntax chapter since the calling syntax is indeed the same.  But the Queries Chapter is where I was looking this past time (I knew about and read the SQL Functions Chapter previously but didn’t get there is this skim).

David J.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Undocumented array_val[generate_series(...)] functionality?
Next
From: M Tarkeshwar Rao
Date:
Subject: RE: 3867653, EMM1 cluster issue on 23rd May--core generated --design feedback