Re: R: Field's position in Table - Mailing list pgsql-general

From Sam Mason
Subject Re: R: Field's position in Table
Date
Msg-id 20090820111655.GX5407@samason.me.uk
Whole thread Raw
In response to Re: R: Field's position in Table  (vinny <vinny@xs4all.nl>)
Responses Re: R: Field's position in Table  (vinny <vinny@xs4all.nl>)
List 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/

pgsql-general by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: Re: Generating random unique alphanumeric IDs
Next
From: Harald Fuchs
Date:
Subject: Re: unique index for periods