Arrays are sorted when using intarray subtraction operator - Mailing list pgsql-bugs

From Casey & Gina
Subject Arrays are sorted when using intarray subtraction operator
Date
Msg-id 0815AFF7-BE47-456B-896C-FB952CC52EE0@osss.net
Whole thread Raw
Responses Re: Arrays are sorted when using intarray subtraction operator
List pgsql-bugs
I've noticed that when using the `-` operator provided by the intarray extension, it appears to sort the results.
AlthoughI want the results sorted, I'd expect to have to additionally use the `sort` function it provides, as this
behaviorisn't documented.  I don't want to rely on undocumented behavior, although it would simplify my queries to do
so. Is the documentation lacking in this detail, or is it an unintended bug? 

Thanks,
--
Casey


pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Visibility of a local variable
Next
From: "David G. Johnston"
Date:
Subject: Re: Arrays are sorted when using intarray subtraction operator