Masklinn
Not a member
Masklinn's latest activity
Monday, February 25 2013
149
Add support for PG_DIAG_*_NAME error fields
was updated
in psycopg
-
Masklinn commented at 1:36 PMI'd avoid a mapping as I don't want to query everything on object creation, only on attribute access.
That can also be done on mappings FWIW, but if it's goin...
-
Masklinn commented at 10:56 AMIt's actually interesting. What I'd do is to add a diag attribute to the exception, that could be used to fetch the relevant attribute, something like:
That's...