Re: column order - Mailing list pgsql-general

From Florian G. Pflug
Subject Re: column order
Date
Msg-id 4474616F.2010406@phlo.org
Whole thread Raw
In response to Re: column order  (Michael Glaesemann <grzm@seespotcode.net>)
Responses Re: column order
List 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


pgsql-general by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: column order
Next
From: "Florian G. Pflug"
Date:
Subject: Re: Clearing out old idle connections