pg module, lo problem
Cliff Crawford
cjc26 at nospam.cornell.edu
Wed Jan 24 16:58:49 EST 2001
* Alexei Zalivine <zalivin at krona.obninsk.ru> menulis:
|
| > In PostgreSQL you have to use large objects within a transaction. So,
| > you should do a pg.query("BEGIN;") before locreate, and a
| > pg.query("COMMIT;") after you close the large object.
|
| Thank you! It really work. But I don't found about it in documentation.
Yes, that's because it's in the PostgreSQL documentation rather than in
the PyGreSQL docs. (I know because it took me quite a while to find it
myself. ;)
--
Cliff Crawford http://www.people.cornell.edu/pages/cjc26/
print "Just another Python hacker"
More information about the Python-list
mailing list