Re: column order

From: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
To: Michael Glaesemann <grzm(at)seespotcode(dot)net>
Cc: nuno <wegein(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: column order
Date: 2006-05-24 13:36:47
Message-ID: 4474616F.2010406@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Glaesemann wrote:
>
> On May 24, 2006, at 11:54 , nuno wrote:
>
>> does postgresql guarantee you that
>> the columns in the result set would be ordered
>> as specified in the query (i.e. id, firstname, lastname, dob) ?
>
> No. If you want a specific order, use the ORDER BY clause.
I think the OP was talking about the order by the _columns_, not
the _rows_.

Postgres guarantees that order - Anything else would be simply insane.

greetings, Florian Pflug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Benno Pütz 2006-05-24 13:40:54 Incomplete dump?
Previous Message A. Kretschmer 2006-05-24 13:36:28 Re: column order