Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU9vk-000syq-PA for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jul 2024 19:03:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sU9vi-004O4J-VE for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jul 2024 19:03:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU9vi-004O3B-MZ for pgsql-bugs@lists.postgresql.org; Wed, 17 Jul 2024 19:03:11 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sU9vg-0004A6-Cz for pgsql-bugs@lists.postgresql.org; Wed, 17 Jul 2024 19:03:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 46HJ36ek3578457; Wed, 17 Jul 2024 15:03:07 -0400 From: Tom Lane To: onavratil@monetplus.cz cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18543: Mistake in docs example In-reply-to: <18543-93c721689f9928e8@postgresql.org> References: <18543-93c721689f9928e8@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Wed, 17 Jul 2024 12:53:39 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3578455.1721242986.1@sss.pgh.pa.us> Date: Wed, 17 Jul 2024 15:03:06 -0400 Message-ID: <3578456.1721242986@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form 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