From: Pavel Golub <pavel@microolap.com>
To: cpacejo@clearskydata.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14064: Sort order of bytea, etc. not defined
Date: Wed, 4 May 2016 09:16:46 +0300
Message-ID: <1403837265.20160504091646@gf.microolap.com> (raw)
In-Reply-To: <20160404203304.15198.54263@wrigleys.postgresql.org>
References: <20160404203304.15198.54263@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello, Cpacejo.
You wrote:
ccc> The following bug has been logged on the website:
ccc> Bug reference: 14064
ccc> Logged by: Chris Pacejo
ccc> Email address: cpacejo@clearskydata.com
ccc> PostgreSQL version: 9.5.2
ccc> Operating system: any
ccc> Description:
ccc> The documentation does not define (nor call out as undefined) the sort order
ccc> of bytea, bit varying, and other sequence types. While the bytea sort order
ccc> is unsurprising (a < b if a is a prefix of b, but b > a if a prefix of b >
ccc> the same length prefix of a), it is not the only such "unsurprising" sort
ccc> order, and it would be helpful to have the guarantee that this sort order
ccc> can be relied upon (especially in concert with range types).
You shouls use explicit type casting for such types.
--
With best wishes,
Pavel mailto:pavel@gf.microolap.com
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: pavel@microolap.com, cpacejo@clearskydata.com
Subject: Re: BUG #14064: Sort order of bytea, etc. not defined
In-Reply-To: <1403837265.20160504091646@gf.microolap.com>
References: <20160404203304.15198.54263@wrigleys.postgresql.org> <1403837265.20160504091646@gf.microolap.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox