Re: [EXTERNAL] Re: ERROR: insufficient columns in the PRIMARY KEY constraint definition

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Godfrin, Philippe E" <Philippe.Godfrin@nov.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, David Rowley <dgrowleyml@gmail.com>, Nagaraj Raj <nagaraj.sf@yahoo.com>, Pg Bugs <pgsql-bugs@postgresql.org>
Date: 2020-09-30T14:16:33Z
Lists: pgsql-bugs
"Godfrin, Philippe E" <Philippe.Godfrin@nov.com> writes:
> I am curious why this is considered Class 0A, versus 42 (syntax error?)

FEATURE_NOT_SUPPORTED seems perfectly appropriate from here.
What you tried to do is not semantically nonsensical, it's just something
we can't do given the current architecture for partitioned tables.

			regards, tom lane



Commits

  1. Reword partitioning error message

  2. Doc: Improve clarity on partitioned table limitations