Re: BUG #17252: Alter Column Length with dependent Views - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #17252: Alter Column Length with dependent Views
Date
Msg-id CAKFQuwZk5oF_B1d2tokWhTP++iSE1aKXq371xhw1FxnyWL2=pA@mail.gmail.com
Whole thread Raw
In response to BUG #17252: Alter Column Length with dependent Views  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
On Thu, Oct 28, 2021 at 5:46 AM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17252
Logged by:          Javad Ashraf
Email address:      javad_ashraf@hotmail.com
PostgreSQL version: 11.0
Operating system:   Windows
Description:       

In postgres its very bad process to alter column length in table that first
need to drop all dependencies and then alter length and then create again.
Developer also need to take care of order when dropping and recreating, It
should be automated to save developer time.

The absence of such a feature is not a bug - and the effort needed in order to do so doesn't seem generally worth it for a practice that is considered unwise (i.e., just use text and add constraints).

I do agree the feature would be useful - even just to more easily rebuild views that are used by other views (also considered unwise) - but finding volunteers to implement it doesn't seem likely, IMO.

David J.

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: BUG #17251: Download Link Page Displaying Weirdly
Next
From: Noah Misch
Date:
Subject: Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data