BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error
Date
Msg-id 18345-26e2bb64e445f71f@postgresql.org
Whole thread Raw
Responses Re: BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18345
Logged by:          Dylan Meysmans
Email address:      contact@mettekou.com
PostgreSQL version: 16.2
Operating system:   openSUSE Tumbleweed
Description:

PostgreSQL 16.2 does not accept index parameters, such as an INCLUDE (...)
parameter, for a PRIMARY KEY column constraint in a CREATE TABLE DDL
statement. See https://dbfiddle.uk/6S1zwHRL for a minimal reproduction.
According to the documentation at
https://www.postgresql.org/docs/current/sql-createtable.html, this should be
allowed.


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18344: Pruning tables partitioned by bool range fails with invalid strategy
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error