public inbox for [email protected]  
help / color / mirror / Atom feed
What is a "simple expression"?
2+ messages / 2 participants
[nested] [flat]

* What is a "simple expression"?
@ 2022-04-20 18:46  PG Doc comments form <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2022-04-20 18:46 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

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.

Cheers,
Damian


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: What is a "simple expression"?
@ 2022-04-20 20:32  David G. Johnston <[email protected]>
  parent: PG Doc comments form <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: David G. Johnston @ 2022-04-20 20:32 UTC (permalink / raw)
  To: [email protected]; Pg Docs <[email protected]>

On Wed, Apr 20, 2022 at 12:50 PM PG Doc comments form <
[email protected]> 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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-04-20 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 18:46 What is a "simple expression"? PG Doc comments form <[email protected]>
2022-04-20 20:32 ` David G. Johnston <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox