Re: Result of ORDER-BY - Mailing list pgsql-general

From Good Day Books
Subject Re: Result of ORDER-BY
Date
Msg-id 11793C2969EE4289A2E934D8CA3978FC@GDBMain
Whole thread Raw
In response to Result of ORDER-BY  ("Good Day Books" <goodday@gol.com>)
List pgsql-general
> See the other remark in this thread about GROUP BY and ORDER BY.  Note
> that GROUP BY used to cause ORDER BY every time, because it was always
> implemented with a sort.  That hasn't been true for several releases,
> and if you're relying on that side effect it could be the cause of
> this, although it's pretty surprising that you still got A, B, C in
> that case.  In any case, you definitely need an ORDER BY category
> here, too.  Does that make a difference?
>
> You might also want to look at your collation.  Sort orders are
> notorious for being surprising across collations.  What's this one?

Thank you very much for your reply. Yes, I tried ORDER BY, and the result
is the same.

I am not sure about collations; I guess I will have to read up on this
subject.


pgsql-general by date:

Previous
From: Scott Mead
Date:
Subject: Re: Using the internal data dictionary
Next
From: "Good Day Books"
Date:
Subject: Re: Result of ORDER-BY