This project is archived and is in readonly mode.

#42 ✓resolved
marplatense

Regression bug in 2.4 with empty timestamp arrays

Reported by marplatense | February 15th, 2011 @ 02:00 AM

Using psycopg2 2.4 beta2 with python 2.6: when I insert an empty array (tested with timestamp array) it seems it's casted to text by psycopg2 and, consequently, raises a ProgrammingError because of wrong type. This did not happen with psycopg2 version 2.3.2. I attach a full example with this report, demonstrating the behavior with psycopg2 2.3 and 2.4

Comments and changes to this ticket

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

Attachments

Pages