Name
DBD::Pg
General Information
Driver version
DBD::Pg
version 0.91
Feature summary
Transactions Yes Locking Yes, implicit and explicit Table joins Yes, inner only LONG/LOB datatypes Yes, max size depends on filesystem Statement handle attributes available After execute( ) Placeholders Yes, "?" and ":1" styles (native) Stored procedures No Bind output values No Table name letter case Insensitive, stored as lowercase Field name letter case Insensitive, stored as lowercase Quoting of otherwise invalid names Yes, via double quotes Case-insensitive "LIKE" operator No, but has "~*" case-insensitive regex match Server table ROW ID pseudocolumn Yes, "oid" Positioned update/delete No Concurrent use of multiple handles Unrestricted
Author and contact details
The driver author is Edmund Mergl. He can be contacted via the dbi-users mailing list.
Supported database versions and options
The DBD-Pg-0.91 module supports PostgreSQL 6.4. For futher information please refer to:
http://www.postgresql.org |
Differences from the DBI Specification
DBD::Pg
does not fully parse the statement until
it’s executed. Thus, attributes like
$sth->{NUM_OF_FIELDS}
are not available until
after $sth->execute( )
has been called. This is
valid behavior, but it is important to note when porting applications
originally written for other drivers.
Connect Syntax
The DBI->connect()
Data Source Name, or DSN, can be one of the
following:
dbi:Pg:dbname=$dbname dbi:Pg:dbname=$dbname;host=$host;port=$port;options=$options;tty=$tty ...
Get Programming the Perl DBI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.