Subject: | parse_trace_flag example in pod wrong |
I believe the pod:
$h->trace($h->parse_trace_flag('SQL|pglibpq'));
$h->trace($h->parse_trace_flag('1|pgstart'));
is wrong as it is attempting to parse multiple flags with
parse_trace_flag and it should be parse_trace_flags (note the s).
As an aside (and I have not tested this myself) I'm not sure the
DBD::Pg::parse_trace_flag code is correct as it does:
return DBI::parse_trace_flag($dbh, $flag);
but pops $class and $flag off @_ so shouldn't that $dbh really be $class?
Martin
--
Martin J. Evans
Wetherby, UK