From: Pinchart, L. <Pin...@PC...> - 2003-06-12 10:55:42
|
Hi, Here's a patch (against CVS HEAD) that fixes a misinterpretation of the lo_unlink and lo_export return values in pgconnection.c. Those functions return -1 when an error occurs, and 1 when successful, while pgconnection.c assumed that any return value other than 0 was an error. I haven't tested thepatch completely yet, but I checked that Connection.unlink raised an exception while still deleting the large object. Laurent Pinchart |