Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anWNw-00065q-FE for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Apr 2016 19:11:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anWNw-0008DL-1a for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Apr 2016 19:11:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anBCI-0005uD-N3 for pgsql-bugs@postgresql.org; Mon, 04 Apr 2016 20:34:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anBCE-0006wx-Un for pgsql-bugs@postgresql.org; Mon, 04 Apr 2016 20:34:05 +0000 MIME-Version: 1.0 Subject: BUG #14064: Sort order of bytea, etc. not defined To: pgsql-bugs@postgresql.org From: cpacejo@clearskydata.com Date: Mon, 04 Apr 2016 20:33:04 +0000 Message-ID: <20160404203304.15198.54263@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 14064 Logged by: Chris Pacejo Email address: cpacejo@clearskydata.com PostgreSQL version: 9.5.2 Operating system: any Description: The documentation does not define (nor call out as undefined) the sort order of bytea, bit varying, and other sequence types. While the bytea sort order is unsurprising (a < b if a is a prefix of b, but b > a if a prefix of b > the same length prefix of a), it is not the only such "unsurprising" sort order, and it would be helpful to have the guarantee that this sort order can be relied upon (especially in concert with range types). -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs