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

From vinny
Subject Re: R: Field's position in Table
Date
Msg-id 1251142717.11931.5.camel@vinny-desktop
Whole thread Raw
In response to Re: R: Field's position in Table  (Sam Mason <sam@samason.me.uk>)
Responses Re: R: Field's position in Table  (Adam Rich <adam.r@sbcglobal.net>)
List pgsql-general
On Thu, 2009-08-20 at 12:16 +0100, Sam Mason wrote:
> 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/
>

But how is it convenient exactly, is it just a timesaver so you can
SELECT * instead of having to type SELECT firstname, lastname, email?


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: How to simulate crashes of PostgreSQL?
Next
From: Adam Rich
Date:
Subject: Re: R: Field's position in Table