Re: ALTER TABLE "table" ALTER COLUMN "id" SET RESTART WITH nnn raises error

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: kees(dot)vivition(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: ALTER TABLE "table" ALTER COLUMN "id" SET RESTART WITH nnn raises error
Date: 2023-08-20 16:48:59
Message-ID: CAKFQuwaD00oTYmf7OySBS_YNWNAWR+0qKCjza1ZY6xtiADxxvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sun, Aug 20, 2023 at 8:56 AM PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> When the folloing SQL is executed:
> ALTER TABLE "table" ALTER COLUMN "id" SET RESTART WITH nnn raises error
> then an error is returned:
>

Yes, because if you take the RESTART branch in the syntax there is no word
SET preceding RESTART.

Please fix the documentation or the functionality.
>

The documentation is already correct.

David J.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2023-08-20 16:52:34 Re: In docs there is no "Installation from Binaries" section
Previous Message yanliang lei 2023-08-19 03:49:21 ​the description of max_wal_senders parameter does not include Logical Replication