aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYedidyah Bar David <didi@redhat.com>2018-12-04 13:10:32 +0200
committerBryn M. Reeves <bmr@redhat.com>2018-12-12 10:02:36 +0000
commit254d93499d64acaff5103e15c25649d418004737 (patch)
treee5fb5bb3b8dcd06284cafafaa0129457e7e0ccf7
parent47e6b3d92c8a13560b248e6f0e2ffb334b547d07 (diff)
downloadsos-254d93499d64acaff5103e15c25649d418004737.tar.gz
[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 <didi@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/postgresql.py2
1 files changed, 1 insertions, 1 deletions
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(