diff options
| author | James Henstridge <james@jamesh.id.au> | 2008-05-06 17:04:26 +0800 |
|---|---|---|
| committer | James Henstridge <james@jamesh.id.au> | 2008-05-06 17:04:26 +0800 |
| commit | 7d66c20edb087e175064a638cc90f2a644e2f93a (patch) | |
| tree | c3acf0ec11b9f7ab29bbb822e95387ee294d2974 /psycopg/lobject.h | |
| parent | e627948a6b3516a4fc887a0565d64c665488e5fc (diff) | |
| download | psycopg2-7d66c20edb087e175064a638cc90f2a644e2f93a.tar.gz | |
* tests/test_lobject.py (LargeObjectTests): add more tests,
including behaviour on closed lobjects and stale lobjects.
* psycopg/lobject_type.c (psyco_lobj_close): don't mark the
connection closed here because it is done by
lobject_close_locked().
* psycopg/lobject_int.c (lobject_open): mark objects as not closed
if we successfully open them.
(lobject_close_locked): mark the lobject closed here.
(lobject_export): ensure we are in a transaction, since
lo_export() issues multiple queries.
* psycopg/lobject_type.c (lobject_setup): make lobjects start closed.
Diffstat (limited to 'psycopg/lobject.h')
0 files changed, 0 insertions, 0 deletions
