version_from: pgbadger
installdirs: site
recommends:
- Text::CSV: 0
+ Text::CSV_XS: 0
distribution_type: script
generated_by: ExtUtils::MakeMaker version 6.17
If you planned to parse PostgreSQL CSV log files you might need some
Perl Modules:
- Text::CSV - to parse PostgreSQL CSV log files.
+ Text::CSV_XS - to parse PostgreSQL CSV log files.
This module is optional, if you don't have PostgreSQL log in the CSV
format you don't need to install it.
If you planned to parse PostgreSQL CSV log files you might need some Perl Modules:
- Text::CSV - to parse PostgreSQL CSV log files.
+ Text::CSV_XS - to parse PostgreSQL CSV log files.
This module is optional, if you don't have PostgreSQL log in the CSV format you don't need to install it.
my $cursize = 0;
if ($format eq 'csv') {
- require Text::CSV;
- my $csv = Text::CSV->new({binary => 1, eol => $/});
+ require Text::CSV_XS;
+ my $csv = Text::CSV_XS->new({binary => 1, eol => $/});
my $io = undef;
if ($logfile !~ /\.(gz|bz2|zip)/i) {
open($io, "<", $logfile) or die "FATAL: cannot read csvlog file $logfile. $!\n";