Re: BUG #18543: Mistake in docs example - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18543: Mistake in docs example
Date
Msg-id 3578456.1721242986@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18543: Mistake in docs example  (PG Bug reporting form <noreply@postgresql.org>)
List 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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq: unexpected return code from PQexecParams with a DO INSTEAD rule present
Next
From: PG Bug reporting form
Date:
Subject: BUG #18544: Setting local config_parameter to DEFAULT behaves unexpectedly when using period in config name