Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ea2fd commit ff6b62aCopy full SHA for ff6b62a
1 file changed
plugins/dbms/postgresql/filesystem.py
@@ -53,6 +53,8 @@ def stackedWriteFile(self, wFile, dFile, fileType, forceCheck=False):
53
# http://www.postgresql.org/docs/8.3/interactive/lo-funcs.html
54
55
inject.goStacked("SELECT lo_unlink(%d)" % self.oid)
56
+ inject.goStacked("SELECT lo_create(%d)" % self.oid)
57
+ inject.goStacked("DELETE FROM pg_largeobject WHERE loid=%d" % self.oid)
58
59
for offset in xrange(0, wFileSize, LOBLKSIZE):
60
fcEncodedList = self.fileContentEncode(content[offset:offset + LOBLKSIZE], "base64", False)
0 commit comments