public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Bug reporting form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: BUG #19455: ALTER TABLE RENAME will rename a sequence
Date: Mon, 13 Apr 2026 12:48:35 +0000
Message-ID: <[email protected]> (raw)

The following bug has been logged on the website:

Bug reference:      19455
Logged by:          Bob Sislow
Email address:      [email protected]
PostgreSQL version: 15.2
Operating system:   Red Hat Enterprise Linux release 8.7 (Ootpa)
Description:        

Is this expected behavior? ALTER TABLE RENAME will rename a sequence.

postgres=# create sequence test;
CREATE SEQUENCE
postgres=# \ds
           List of relations
  Schema  | Name |   Type   |  Owner
----------+------+----------+----------
 dbaadmin | test | sequence | postgres
(1 row)

postgres=# alter table test rename to test2;
ALTER TABLE
postgres=# \ds
           List of relations
  Schema  | Name  |   Type   |  Owner
----------+-------+----------+----------
 dbaadmin | test2 | sequence | postgres
(1 row)








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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: BUG #19455: ALTER TABLE RENAME will rename a sequence
  In-Reply-To: <[email protected]>

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

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