Re:Pgroll: zero-downtime, undoable, schema migrations for Po...
by surjection on Tuesday October 03, 2023 @02:00PM
(#37755359)
There is no code to do this because it's actually a nice feature of postgres - if the underlying column is renamed, the pgroll views that depend on that column are updated automatically as part of the same transaction.
Unless obviously the view has magic to use either column name based on what's available on the underlying, but I did not see that either.