On Sun, Apr 23, 2017 at 09:30:07AM -0500, Justin Pryzby wrote: > 1) getlo().unlink() doesn't raise an error if the LO doesn't exist, even > though > strace shows that libpq is returning an error.
Seems to me that, for the lo_ functions, one needs for the exceptional return value check -1 and not 0, no ? https://www.postgresql.org/docs/9.4/static/lo-interfaces.html#LO-UNLINK _______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
