Content-Length: 255159 | pFad | http://github.com/postgrespro/postgres/commit/6159331acfbe2d08361947324e09e446138c7bc1

67 Doc: fix minor syntax error in example. · postgrespro/postgres@6159331 · GitHub
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/6159331acfbe2d08361947324e09e446138c7bc1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy