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

From Guillaume Lelarge
Subject Re: Create Table Dialog: Change Column after creation/Reorder Columns
Date
Msg-id 4C1E7E36.7030605@lelarge.info
Whole thread Raw
In response to Create Table Dialog: Change Column after creation/Reorder Columns  (Onur GUZEL <onur.oguzel@gmail.com>)
Responses Re: Create Table Dialog: Change Column after creation/Reorder Columns  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Le 20/06/2010 22:00, Onur GUZEL a écrit :
> [...]
> I want to contribute to pgadmin project, is it ok to start with
> http://code.pgadmin.org/trac/ticket/90 ( Create Table Dialog: Change
> Column after creation/Reorder Columns )
>

The aim of the ticket is to allow the reordering of columns in a table.
This is not a functionality of PostgreSQL. So, you'll have to think a
bit on how to do this with pgAdmin. You'll need to find a way to get all
the metadatas and the datas of the table, to create a new one, nearly
identical (nearly because the order of the columns will be changed, and
only that).

IOW, the UI needed is just a snap to do (a couple of buttons to bring up
or down the selected column), but the underlying work to make it happen
could be quite hard.

Other than that, you're free to go :)

Regards.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgadmin-hackers by date:

Previous
From: Onur GUZEL
Date:
Subject: Create Table Dialog: Change Column after creation/Reorder Columns
Next
From: Dave Page
Date:
Subject: Re: Create Table Dialog: Change Column after creation/Reorder Columns