Error in example

Started by PG Bug reporting form7 months ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/ddl-generated-columns.html
Description:

On page https://www.postgresql.org/docs/current/ddl-generated-columns.html :

In the example "CREATE TABLE people" ...,
the line "GENERATED ALWAYS AS ..." is missing the mandatory suffix word
"STORED".

Regards,
fjf2002

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: PG Bug reporting form (#1)

On Monday, September 29, 2025, PG Doc comments form <noreply@postgresql.org>
wrote:

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/ddl-generated-columns.html
Description:

On page https://www.postgresql.org/docs/current/ddl-generated-columns.html
:

In the example "CREATE TABLE people" ...,
the line "GENERATED ALWAYS AS ..." is missing the mandatory suffix word
"STORED".

Read the sentence immediately following that example.

As of version 18 it is no longer mandatory.

David J.