Skip to content

Commit cc611c0

Browse files
committed
Minor layout adjustments
1 parent 3f3ddd5 commit cc611c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/takeover/udf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ def udfCheckAndOverwrite(self, udf):
8383
self.udfToCreate.add(udf)
8484

8585
def udfCreateSupportTbl(self, dataType):
86-
debugMsg = "creating a support table to write commands standard "
87-
debugMsg += "output to"
86+
debugMsg = "creating a support table for user-defined functions"
8887
logger.debug(debugMsg)
8988

9089
self.createSupportTbl(self.cmdTblName, self.tblField, dataType)

plugins/generic/filesystem.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def readFile(self, rFile):
270270

271271
fileContent = self.stackedReadFile(rFile)
272272

273-
if fileContent in ( None, "" ):
273+
if fileContent in ( None, "" ) and kb.dbms != "PostgreSQL":
274274
self.cleanup(onlyFileTbl=True)
275275

276276
return
@@ -288,7 +288,8 @@ def readFile(self, rFile):
288288
fileContent = self.__unhexString(fileContent)
289289
rFilePath = dataToOutFile(fileContent)
290290

291-
self.cleanup(onlyFileTbl=True)
291+
if kb.dbms != "PostgreSQL":
292+
self.cleanup(onlyFileTbl=True)
292293

293294
return rFilePath
294295

0 commit comments

Comments
 (0)