Re: Incorrect Syntax in Function Syntax diagram

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: aazamrafeeque0(at)gmail(dot)com, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Incorrect Syntax in Function Syntax diagram
Date: 2021-06-23 15:41:56
Message-ID: CAKFQuwar-RXDzzE53swDA3QbPZVhx=AuG9y=udHX024rvaRA3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Jun 23, 2021 at 8:29 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Yeah. The way it's written fails to show, except via formatting,
> that IMMUTABLE/STABLE/VOLATILE are mutually exclusive;
>

It seems the STRICT -ness line needs brackets too then.

Also, back to volatility, volatile is the default option though due to
alphabetical order it is shown last with no indication it is the default.
Do we have an existing convention in the syntax section to indicate
defaults, either with emphasis, placement, or even an annotation like "*"?

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2021-06-23 16:07:29 Re: Incorrect Syntax in Function Syntax diagram
Previous Message Tom Lane 2021-06-23 15:29:11 Re: Incorrect Syntax in Function Syntax diagram