Re: Create Table Dialog: Change Column after creation/Reorder Columns - Mailing list pgadmin-hackers

From Erwin Brandstetter
Subject Re: Create Table Dialog: Change Column after creation/Reorder Columns
Date
Msg-id 12a1b7cf-788b-42ed-8dad-016d792f2aa1@k39g2000yqd.googlegroups.com
Whole thread Raw
In response to Create Table Dialog: Change Column after creation/Reorder Columns  (Onur GUZEL <onur.oguzel@gmail.com>)
List pgadmin-hackers
On Jun 22, 5:36 pm, onur.ogu...@gmail.com (Onur GUZEL) wrote:
> Dave Page wrote:
> > Please don't. This would take far more work than it is worth, and
> > there are a ton of ways it can go wrong. The likelihood of me
> > accepting a patch for post-creation rearrangement of columns is
> > extremely low.
>
> > Pre-creation, is absolutely fine.
>
> Post-creation becomes out of scope now. I guess after your suggestion i
> will just add the functionality of reordering and changing columns on
> pre-creation. I just dont want to make a mistake by adding an unneeded
> functionality for pgadmin so thanks for your suggestions.

I do understand the wish to be able to reorder columns in existing
tables. I tried to cook something up myself a couple of years back.
See the thread on pgsql.admin and what core developers think about it.
http://groups.google.at/group/pgsql.admin/browse_thread/thread/528533d669518626

As Magnus said, if we have reliable dependency tracking, we could
identify simple cases and reorder. In all other cases just deny the
attempt.


Regards
Erwin

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Patch to add GIT support
Next
From: Ashesh Vashi
Date:
Subject: Re: Patch to add GIT support