This project is archived and is in readonly mode.

#193 ✓resolved
Daniele Varrazzo

Range objects cannot be sorted

Reported by Daniele Varrazzo | February 22nd, 2014 @ 10:48 PM

...which is ok because there is no meaningful order. Except that it's not, because SQLAlchemy tries to sort objects on them if they are used as pkey.

Postgres too provides an arbitrary order to implement btrees on them.

Adding the issue here as reference: it's already been kindly fixed by Chris Withers (https://github.com/psycopg/psycopg2/pull/10)

No comments found

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages