Re: BUG #18543: Mistake in docs example

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: onavratil@monetplus.cz
Cc: pgsql-bugs@lists.postgresql.org
Date: 2024-07-17T19:03:06Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> https://www.postgresql.org/docs/17/ddl-identity-columns.html

> The second example:

> CREATE TABLE people (
>     id bigint GENERATED BY DEFAULT IDENTITY,

> is missing **AS**, correct version:

> CREATE TABLE people (
>     id bigint GENERATED BY DEFAULT AS IDENTITY,

Right you are.  Will fix, thanks for spotting that!

			regards, tom lane



Commits

  1. Doc: fix minor syntax error in example.