Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN
Date
Msg-id c4b6e2ed-bcdf-4ea7-965f-e49761094827@eisentraut.org
Whole thread Raw
Responses Re: Fix propagation of persistence to sequences in ALTER TABLE / ADD COLUMN
List pgsql-hackers
Commit 344d62fb9a9 (2022) introduced unlogged sequences and made it so 
that identity/serial sequences automatically get the persistence level 
of their owning table.  But this works only for CREATE TABLE and not for 
ALTER TABLE / ADD COLUMN.  This patch fixes that.  (should be 
backpatched to 15, 16)
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improve pg_trigger.tgargs representation
Next
From: "David E. Wheeler"
Date:
Subject: Re: Patch: Add parse_type Function