DBD::Pg

PostgreSQL database driver for the DBI module
Download

DBD::Pg Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Greg Sabino Mullane
  • Publisher web site:
  • http://search.cpan.org/~turnstep/

DBD::Pg Tags


DBD::Pg Description

PostgreSQL database driver for the DBI module DBD::Pg is a Perl module that works with the DBI module in order to provide access to PostgreSQL databases.SYNOPSIS use DBI; $dbh = DBI->connect("dbi:Pg:dbname=$dbname", '', '', {AutoCommit => 0}); # The AutoCommit attribute should always be explicitly set # For some advanced uses you may need PostgreSQL type values: use DBD::Pg qw(:pg_types); # For asynchronous calls, import the async constants: use DBD::Pg qw(:async); $dbh->do('INSERT INTO mytable(a) VALUES (1)'); $sth = $dbh->prepare('INSERT INTO mytable(a) VALUES (?)'); $sth->execute(); Requirements: · Perl


DBD::Pg Related Software