Error in example
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
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.