From 254d93499d64acaff5103e15c25649d418004737 Mon Sep 17 00:00:00 2001 From: Yedidyah Bar David Date: Tue, 4 Dec 2018 13:10:32 +0200 Subject: [postgresql] Do not limit dump size In principle, this might be risky - if a database is huge, we might not want to collect all of it. But there is no sense in collecting only its tail. If this turns out problematic, a future patch might check db size and do not collect it at all if it's too large. Bug-Url: https://bugzilla.redhat.com/1654068 Resolves: #1497 Signed-off-by: Yedidyah Bar David Signed-off-by: Bryn M. Reeves --- sos/plugins/postgresql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py index d47f7e8b..aef431f8 100644 --- a/sos/plugins/postgresql.py +++ b/sos/plugins/postgresql.py @@ -64,7 +64,7 @@ class PostgreSQL(Plugin): if scl is not None: cmd = self.convert_cmd_scl(scl, cmd) self.add_cmd_output(cmd, suggest_filename=filename, - binary=True) + binary=True, sizelimit=0) else: # no password in env or options self.soslog.warning( -- cgit