]> granicus.if.org Git - pgbadger/commitdiff
Add doc warning about log_MDS vs log_D + log_S
authorJulien Tachoires <julmon@gmail.com>
Wed, 13 Jun 2018 13:32:02 +0000 (15:32 +0200)
committerJulien Tachoires <julmon@gmail.com>
Wed, 13 Jun 2018 13:35:24 +0000 (15:35 +0200)
README
doc/pgBadger.pod

diff --git a/README b/README
index e65afb68a91c1b55c619d5fb24f6c53a8e33ac77..26a26a78b5a92041ab9662fa29d620538497499d 100644 (file)
--- a/README
+++ b/README
@@ -499,6 +499,11 @@ log_min_duration_statement, log_duration and log_statement
     have log_statement set to 'all' nothing will be logged with
     log_line_prefix.
 
+    Warning: Do not enable both log_min_duration_statement and log_duration+
+    log_statement, this will result in wrong counter values. Note that this
+    will also increase drastically the size of your log.
+    log_min_duration_statement should always be preferred.
+
 PARALLEL PROCESSING
     To enable parallel processing you just have to use the -j N option where
     N is the number of cores you want to use.
index 7cf09afff5e8a0e19d8a4e44f089b6e890befc3a..d862ec32e701559576fe2f23ec6d5f2aa7458c1f 100644 (file)
@@ -489,6 +489,10 @@ Enabling log_min_duration_statement will add reports about slowest queries and
 queries that took up the most time. Take care that if you have log_statement
 set to 'all' nothing will be logged with log_line_prefix.
 
+Warning: Do not enable both log_min_duration_statement and log_duration+
+log_statement, this will result in wrong counter values. Note that this
+will also increase drastically the size of your log.
+log_min_duration_statement should always be preferred.
 
 =head1 PARALLEL PROCESSING