Re: How to add explicit types so I can use OVERLAPS?
Matthew Wilson <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri 01 Aug 2008 05:26:03 PM EDT, Federico Di Gregorio wrote: > I understand but here we have a problem: psycopg already worked out of > the box. Now we have "errors" in queries that with PostgreSQL 8.2 where > ok. psycopg is not supposed to send to the backend "unknown" values. It > is supposed to send values of the right type. Untill now using > PostgreSQL intrinsic ability to convert a quoted string to the right > type worked. If it does not work anymore it should be fixed. > > Anyway, I'll make sure to fix this maintaining backward compatibility. I > won't just stick in typecasts from the next release. I'm not familiar with the psycopg code, but I'm happy to help if I can. If you tell me where to look and what to do, I can start. How will you maintain backward compatibility? Are you going to do a test for the postgresql database version, and if it is 8.3 or greater, you'll add the "TIMESTAMP" text? Matt