Re: Incorrect Syntax in Function Syntax diagram - Mailing list pgsql-docs

From David G. Johnston
Subject Re: Incorrect Syntax in Function Syntax diagram
Date
Msg-id CAKFQuwar-RXDzzE53swDA3QbPZVhx=AuG9y=udHX024rvaRA3g@mail.gmail.com
Whole thread Raw
In response to Re: Incorrect Syntax in Function Syntax diagram  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Incorrect Syntax in Function Syntax diagram  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
On Wed, Jun 23, 2021 at 8:29 AM Tom Lane <tgl@sss.pgh.pa.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.

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Incorrect Syntax in Function Syntax diagram
Next
From: Tom Lane
Date:
Subject: Re: Incorrect Syntax in Function Syntax diagram