On Mon, Sep 14, 2020 at 06:49:22PM -0700, David G. Johnston wrote: > On Thu, Sep 3, 2020 at 6:46 PM Bruce Momjian <br...@momjian.us> wrote: > The issue with adding an example is that it is hard to do something > simple and have it illustrate anything. Does this help? > > That documents one of the two variants - and incorporating the column alias > feature seems worthwhile for the chosen example. I do think this is worth > adding. > > The more complicated one is the second: > > ROWS FROM( ... function_call AS (column_definition [, ... ]) [, ... ] ) > > First, what's with the first set of "..."? It doesn't appear in the reference > documentation.
I have removed these dots in a patch I just posted to this thread. > I was looking at the "Queries" doc comment a little bit ago and am wondering > if > there is some principle by which we would decide to place any new examples in > this section versus the examples part of the SELECT reference section? Agreed. Let me know if my patch needs more information. -- Bruce Momjian <br...@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee