Re: BUG #19455: ALTER TABLE RENAME will rename a sequence - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #19455: ALTER TABLE RENAME will rename a sequence
Date
Msg-id CAKFQuwYBYgpra9+tH3dYQT=MMotrebVjvu1Pj2c20a3OUEKBCQ@mail.gmail.com
Whole thread
In response to BUG #19455: ALTER TABLE RENAME will rename a sequence  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
On Monday, April 13, 2026, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      19455
Logged by:          Bob Sislow
Email address:      bsislow@accertify.com
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.

It’s documented:


Arguably it’s better to use alter sequence so the somewhat buried documentation for this seems ok.

David J.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19455: ALTER TABLE RENAME will rename a sequence
Next
From: Michael Paquier
Date:
Subject: Re: BUG #19006: Assert(BufferIsPinned) in BufferGetBlockNumber() is triggered for forwarded buffer