Re: BUG #17252: Alter Column Length with dependent Views

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: javad_ashraf(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17252: Alter Column Length with dependent Views
Date: 2021-10-28 13:47:25
Message-ID: CAKFQuwZk5oF_B1d2tokWhTP++iSE1aKXq371xhw1FxnyWL2=pA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Oct 28, 2021 at 5:46 AM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 17252
> Logged by: Javad Ashraf
> Email address: javad_ashraf(at)hotmail(dot)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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2021-10-28 14:04:59 Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data
Previous Message Magnus Hagander 2021-10-28 13:11:03 Re: BUG #17251: Download Link Page Displaying Weirdly