Re: Altering a table - positioning new columns

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: Chris Boget <chris(at)wild(dot)net>
Cc: Manfred Koizar <mkoi-pg(at)aon(dot)at>, PGSql General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Altering a table - positioning new columns
Date: 2003-01-20 15:40:33
Message-ID: Pine.LNX.4.21.0301201537560.2737-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mon, 20 Jan 2003, Chris Boget wrote:

> > Of course this has its drawbacks, if there are triggers, foreign keys, ...
>
> Yeah, these are pretty serious drawbacks. It took me 30+ minutes to do
> this for just _one_ table. I don't like new fields trailing the column list because
> I prefer all similar columns to be grouped. That way if you are viewing the
> data through a UI, it's easier to see/read.
> But I guess unless I want to spend hours adding a few columns to some
> tables, I'm just going to have to learn to live with it... :|
>

Of course that is purely presentation of the data, nothing to do with integrity
of the data, therefore just as the order of rows returned from a query are
undefined, unless explicitly ordered, so are the columns.

MySQL might be seen as having a good feature if it can manage the column
ordering bit but imo it's fud, detracting from the real job of a DB.

--
Nigel J. Andrews

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-01-20 15:40:45 Re: Fw: configure error with krb5
Previous Message Tom Lane 2003-01-20 15:39:13 Re: Altering a table - positioning new columns