BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
Date
Msg-id 18558-411bc81b03592125@postgresql.org
Whole thread Raw
Responses Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18558
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
PostgreSQL version: 17beta2
Operating system:   Ubuntu 22.04
Description:

The following script:
CREATE TABLE t(a int);
CREATE PUBLICATION p FOR TABLE t(a);

ALTER PUBLICATION p SET TABLE t (a, ctid);
triggers
ERROR:  negative bitmapset member not allowed

Whilst:
CREATE PUBLICATION p FOR TABLE t(a, ctid);
ends up with a more informative
ERROR:  cannot use system column "ctid" in publication column list

Reproduced on REL_15_STABLE .. master.


pgsql-bugs by date:

Previous
From: 燕尘
Date:
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Next
From: Peter Smith
Date:
Subject: Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column