]> granicus.if.org Git - pgbadger/commitdiff
Add a note about Windows Os and zcat as well as a more general note about using compr...
authorDarold Gilles <gilles@darold.net>
Mon, 9 Jul 2012 17:50:14 +0000 (19:50 +0200)
committerDarold Gilles <gilles@darold.net>
Mon, 9 Jul 2012 17:50:14 +0000 (19:50 +0200)
Makefile.PL
README
doc/pgBadger.pod

index 0c1620f1361787bc3c0c68f5628c73f9be9c7b0f..f674c03237c9e1e0fbef28c8c61d947a6d28b544 100644 (file)
@@ -33,7 +33,7 @@ WriteMakefile(
        'MAN1PODS'     => { 'doc/pgBadger.pod' => 'blib/man1/pgbadger.1' },
        'DESTDIR'      => $DESTDIR,
        'INSTALLDIRS'  => $INSTALLDIRS,
-       'clean'        => {FILES => "install_all.sh"},
+       'clean'        => {},
        'META_MERGE'   => {
                resources  => {
                        homepage => 'http://projects.dalibo.org/pgbadger',
diff --git a/README b/README
index 910f3f8bc9c49deff8c1011185177edafa6f1efc..34f573769efc5b89fe0ef2b6f0ede07225a03dbd 100644 (file)
--- a/README
+++ b/README
@@ -126,6 +126,16 @@ REQUIREMENT
     This module is optional, if you don't have PostgreSQL log in the CSV
     format you don't need to install it.
 
+    Under Windows OS you may not be able to use gzipped log files unless you
+    have a zcat like utility that could uncompress the log file and send
+    content to stdout. If you have such an utility or in other OSes you want
+    to use other compression utility like bzip2 or Zip, use the --zcat
+    comand line option as follow:
+
+            --zcat="unzip -p" or --zcat="gunzip -c" or --zcat="bzip2 -dc"
+
+    the last example can also be used like this: --zcat="bzcat"
+
 POSTGRESQL CONFIGURATION
     You must enable some configuration directives in your postgresql.conf
     before starting.
index 9a619ce4bda10f18b6877b7046b17a01b273d0e4..2bc4b94cd2074301408858e0d9a88539fa998bd3 100644 (file)
@@ -119,6 +119,15 @@ If you planned to parse PostgreSQL CSV log files you might need some Perl Module
 
 This module is optional, if you don't have PostgreSQL log in the CSV format you don't need to install it.
 
+Under Windows OS you may not be able to use gzipped log files unless you have a
+zcat like utility that could uncompress the log file and send content to stdout.
+If you have such an utility or in other OSes you want to use other compression
+utility like bzip2 or Zip, use the --zcat comand line option as follow:
+
+       --zcat="unzip -p" or --zcat="gunzip -c" or --zcat="bzip2 -dc"
+
+the last example can also be used like this: --zcat="bzcat"
+
 =head1 POSTGRESQL CONFIGURATION
 
 You must enable some configuration directives in your postgresql.conf before starting.