pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: contact@mettekou.com
Subject: BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error
Date: Thu, 15 Feb 2024 11:58:18 +0000
Message-ID: <18345-26e2bb64e445f71f@postgresql.org> (raw)

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.



view thread (2+ messages)  latest in thread

Message-ID: <18345-26e2bb64e445f71f@postgresql.org>
Permalink:  ../18345-26e2bb64e445f71f@postgresql.org/
Also on:    postgresql.org/message-id/18345-26e2bb64e445f71f@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, contact@mettekou.com
  Subject: Re: BUG #18345: Specifying index parameters for a PRIMARY KEY column constraint is a syntax error
  In-Reply-To: <18345-26e2bb64e445f71f@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox