From: Tom Lane Date: Wed, 17 Jul 2024 19:17:52 +0000 (-0400) Subject: Doc: fix minor syntax error in example. X-Git-Tag: REL_17_BETA3~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cbd8c60223bd28aacb38f8c8921fc5b8a704fcd;p=thirdparty%2Fpostgresql.git Doc: fix minor syntax error in example. The CREATE TABLE option is GENERATED BY DEFAULT *AS* IDENTITY. Per bug #18543 from Ondřej Navrátil. Seems to have crept in in a37bb7c13, so back-patch to v17 where that was added. Discussion: https://postgr.es/m/18543-93c721689f9928e8@postgresql.org --- diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index 9b71c97bdf1..4240c342616 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -257,7 +257,7 @@ CREATE TABLE people ( or alternatively CREATE TABLE people ( - id bigint GENERATED BY DEFAULT IDENTITY, + id bigint GENERATED BY DEFAULT AS IDENTITY, ..., );