Re: R: Field's position in Table

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: R: Field's position in Table
Date: 2009-08-20 11:16:56
Message-ID: 20090820111655.GX5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 20, 2009 at 11:24:49AM +0200, vinny wrote:
> I can't really think of any real reason to put the field at a
> particular position, applications don't reallty care about the order
> of fields.

Because it's very convenient for ad-hoc queries! PG currently assumes
that the column order is the same as when it was created but there are
(unimplemented) suggestions about how to "fix" this. See for example:

http://archives.postgresql.org/pgsql-hackers/2006-12/msg00983.php

--
Sam http://samason.me.uk/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harald Fuchs 2009-08-20 11:35:47 Re: unique index for periods
Previous Message Ivan Sergio Borgonovo 2009-08-20 11:00:23 Re: Generating random unique alphanumeric IDs