Re: [sqlalchemy] PostgreSQL range types

2012-11-23 Thread philipt
Psycopg 2.4.6 will support them (http://initd.org/psycopg/docs/extras.html#range-data-types). Ranges are quite useful and play well with exclusion constraints. Please add them. Thanks On Friday, November 23, 2012 3:14:20 AM UTC+1, Michael Bayer wrote: wow I sure wish postgresql would stop

Re: [sqlalchemy] PostgreSQL range types

2012-11-23 Thread Christoph Zwerschke
Am 23.11.2012 14:34, schrieb philipt: Psycopg 2.4.6 will support them (http://initd.org/psycopg/docs/extras.html#range-data-types). Ranges are quite useful and play well with exclusion constraints. Yepp. I also often have ranges (not only time ranges) in my databases, currently implemented

[sqlalchemy] PostgreSQL range types

2012-11-22 Thread philipt
Are the PostgreSQL range types (http://www.postgresql.org/docs/9.2/interactive/rangetypes.html) implemented? If not what I have to do to use them? -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To view this discussion on the web visit

Re: [sqlalchemy] PostgreSQL range types

2012-11-22 Thread Michael Bayer
wow I sure wish postgresql would stop making new types. two sides to this. psycopg2 needs to allow them through, which it may support directly, or it might be just passing them as some kind of string format. second side, define a type on the SQLAlchemy side: