Daniele Varrazzo
Account owner
Daniele Varrazzo's latest activity
Tuesday, March 19 2013
-
Daniele Varrazzo commented at 12:15 AMAdding PQresult to the exception requires the Error exception to have a C structure (a PsycoErrorObject): I'm taking a look at doing it, using the Python System...
Monday, March 18 2013
-
Daniele Varrazzo commented at 11:49 PMOh well, that's true. Probably the idea of going diag->exception->cursor->PGresult is not so great after all.
Because typically after the exception the result i...
-
Daniele Varrazzo commented at 10:05 PMThe test you are writing is not specific for PG 9.3: I'd drop the check for constraint_name, leave e.g. e.diag.sqlstate, which is present in all postgres versio...
-
Daniele Varrazzo commented at 10:02 PMProbably in pq_execute_command_locked, https://github.com/dvarrazzo/psycopg/blob/devel/psycopg/pqpath.c#L372
-
Daniele Varrazzo commented at 9:20 PMYes, I've thought about this shortcoming. We may be more explicit in the docs. There's also a 'mark' field in the connection/cursor: not sure it's updated every...
-
-
- State changed from new to resolved
I've reviewed the GC interaction and added documentation: this should complete the work.
I've merged the branch into my devel to run the test with all the versi...
-
Daniele Varrazzo commented at 12:41 AMI've done much of the above:
- all the attributes exposed and tested
- test after COPY
- test with Python 3 (decoded from conn encoding)
-
- State changed from new to resolved
Fixed in devel, to be released soon.
Sunday, March 17 2013
-
Daniele Varrazzo commented at 11:04 PMWhat about this patch instead?
Maybe subclassing build_py is not necessary but it doesn't hurt.
diff --git a/setup.py b/setup.py index 3791c14..96cd237 100644 ...