Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6159331

Browse files
committed
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 a37bb7c, so back-patch to v17 where that was added. Discussion: https://postgr.es/m/18543-93c721689f9928e8@postgresql.org
1 parent a99cc6c commit 6159331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ddl.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ CREATE TABLE people (
257257
or alternatively
258258
<programlisting>
259259
CREATE TABLE people (
260-
id bigint <emphasis>GENERATED BY DEFAULT IDENTITY</emphasis>,
260+
id bigint <emphasis>GENERATED BY DEFAULT AS IDENTITY</emphasis>,
261261
...,
262262
);
263263
</programlisting>

0 commit comments

Comments
 (0)