The following bug has been logged on the website:
Bug reference: 19757
Logged by: Jonas
Email address: jonas-lugner(at)gmx(dot)de
PostgreSQL version: 16.15
Operating system: Alpine Linux via Docker
Description:
Consider the following Code:
CREATE TABLE employees (
email VARCHAR(255) UNIQUE
);
ALTER TABLE employees RENAME COLUMN email TO contact_email;
This generates two entries, but for one of those the attname remains `email`
and is not updated to `contact_email` accordingly.