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: exclusion@gmail.com
Subject: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
Date: Sat, 27 Jul 2024 09:00:01 +0000
Message-ID: <18558-411bc81b03592125@postgresql.org> (raw)

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.



view thread (21+ messages)  latest in thread

Message-ID: <18558-411bc81b03592125@postgresql.org>
Permalink:  ../18558-411bc81b03592125@postgresql.org/
Also on:    postgresql.org/message-id/18558-411bc81b03592125@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, exclusion@gmail.com
  Subject: Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
  In-Reply-To: <18558-411bc81b03592125@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