Re: What is a "simple expression"?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: damian(at)damianbirchler(dot)net, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: What is a "simple expression"?
Date: 2022-04-20 20:32:36
Message-ID: CAKFQuwZtug7OgdhGtOooQxoYbGmaNerFjyWvOSG+=1Pf6G3bog@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Apr 20, 2022 at 12:50 PM PG Doc comments form <
noreply(at)postgresql(dot)org> wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/sql-select.html
> Description:
>
> Hi there
>
> To start off I'd like to say your documentation is great and very helpful.
> Thanks for that!
>
> https://www.postgresql.org/docs/14/sql-select.html in the section "WINDOW
> clause" talks about "simple expression." I couldn't find any explaining of
> what actually constitutes a simple expression, not by searching for the
> term
> or checking the index.
>
>
Yeah, "simple" there isn't a definitional word, it is there to make the
paragraph, which does qualify what the expression can be, read better.

You should be able to use, unless otherwise noted there or elsewhere, any
of the expression building components listed in the SQL Syntax chapter.
That chapter, for Window Functions, does further note that nesting window
functions isn't possible.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2022-04-20 20:52:38 Re: 'CREATE OR REPLACE FUNCTION' behavior whenever a transaction is running
Previous Message PG Doc comments form 2022-04-20 18:46:30 What is a "simple expression"?