This project is archived and is in readonly mode.
psycopg2 2.5.3
Progress
% Complete
Tickets Left
Bug fixes
No open tickets in this milestone.
Closed tickets 6
-
180Return number of rows for copy operationsresolved -
210Does cursor_factory=None work as expected?resolved -
192enhancement: connection.closed attribute to actually become a property that dynamically probes the current cxn stateinvalid -
196connection.closed attribute is not set properly on localconnectionsresolved -
188assertion failed in pqpath.cresolved -
197Python 3, cursor.query returns bytes instead of strresolved
Thursday, August 21 2014
Tuesday, May 27 2014
-
Nicholas Chammas commented at 10:10 PMHey Daniele,
It appears that we are still seeing the -1 rowcount on COPYs in psycopg 2.5.3 when testing against Redshift 1.0.789. This may well be an issue on R...
-
Daniele Varrazzo commented at 7:32 PMHello Bilal,
yes, it works for me: check the test suite. The changeset is released in psycopg 2.5.3
Note that old postgres versions (before 8.2) don't return ...
-
Bilal Aslam commented at 6:02 PMDaniele, thanks for checking in the fix. I tried this out on May 27 using the branch you suggested, but I am still getting a rowcount of -1.
In [36]: cursor.row...
Monday, May 05 2014
-
- State changed from open to resolved
- Milestone set to psycopg2 2.5.3
As Rui pointed out the number of rows is returned by PQcmdTuples. We weren't calling this function on copy results but only after normal opreations.
Fixed in 2....
Wednesday, April 30 2014
-
-
-
Daniele Varrazzo commented at 4:54 PMBug verified: using an explicit connection.cursor(cursor_factory=None) the default behavior is not triggered (using
connection.cursor_factory, thenpsycopg2.ext...
Friday, April 25 2014
Saturday, April 05 2014
-
- State changed from open to invalid
Fixed the poll() and docs reworded. However poll() doesn't notice immediately either that the connection got closed: it takes another roundtrip. Example:
connec...
Friday, April 04 2014
-
- State changed from open to resolved
Fixed in master and maint_2_5. As I expected it was the bad use of Bytes_AS_STRING causing the assertion failure. Tested on a debug build Py3.4. Also found an u...
Thursday, April 03 2014
-
-
Daniele Varrazzo commented at 12:43 AMFixed the problems with dsn and closed in connection subclasses. Please open a different issue if you have something else to report :)
-
-
Daniele Varrazzo commented at 1:50 AMDocs for
mogrify()andqueryfixed: http://initd.org/psycopg/docs/cursor.html#cursor.mogrify
Wednesday, March 26 2014
-
Dave commented at 10:40 PMOn the same subject,
will normally return a hidden password, however if the connection class instantiation is partial due to a connection error...connection.dsn
Tuesday, March 25 2014
-
Daniele Varrazzo commented at 8:39 AMYes, I'd say it's related. It's a sort of corner case but I'll try to iron out that too for next release.
-
Dave commented at 1:22 AMDaniele,
Don't know if this is related but when opening a connection I do the following.class Conn(psycopg2.extensions.connection): def __init__(self, dsn...
Monday, March 10 2014
-
-
- Milestone set to psycopg2 2.5.3
Thank you for testing: I'll try to clear the issues with poll too and pack up the release within a few days.
-
- State changed from resolved to open
- Milestone set to psycopg2 2.5.3
This bug was closed by mistake: the one to be closed should have been the #196. To be reviewed for 2.5.3
No messages in this milestone.