Re: BUG #18543: Mistake in docs example

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: onavratil(at)monetplus(dot)cz
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18543: Mistake in docs example
Date: 2024-07-17 19:03:06
Message-ID: 3578456.1721242986@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

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