This works:
self.loid, = hub.hub.getConnection( ).queryOne( "SELECT lo_import('%s') AS
loid" % filename )
Unfortunately it takes all of two seconds to see what's going to be
wrong. How can I quote/escape the filename?
Regards,
Cliff
--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss