Author: turnstep
Date: Mon Apr 13 12:15:07 2009
New Revision: 12687
Modified:
DBD-Pg/trunk/Changes
DBD-Pg/trunk/Pg.pm
Log:
Better docs for {Name}, per CPAN bug #44985
Modified: DBD-Pg/trunk/Changes
==============================================================================
--- DBD-Pg/trunk/Changes (original)
+++ DBD-Pg/trunk/Changes Mon Apr 13 12:15:07 2009
@@ -8,6 +8,7 @@
instead of the more generic 02000 ( "DATA EXCEPTION" ) (CPAN bug #44744)
[[email protected]]
- Fix minor Perl::Critic nags (CPAN bug #44704) (Debian #bug 521969) [GSM]
+ - Clarify change of $dbh->{Name} behavior (CPAN bug 44985) [GSM]
2.12.0 Released March 28, 2009
Modified: DBD-Pg/trunk/Pg.pm
==============================================================================
--- DBD-Pg/trunk/Pg.pm (original)
+++ DBD-Pg/trunk/Pg.pm Mon Apr 13 12:15:07 2009
@@ -3128,7 +3128,10 @@
=head3 B<Name> (string, read-only)
-Returns the name of the current database.
+Returns the name of the current database. This is the same as the DSN, without
the
+"dbi:Pg:" part. Before version 2.0.0, this only returned the bare database
name
+(e.g. 'foo'). From version 2.0.0 onwards, it returns the more correct
+output (e.g. 'dbname=foo')
=head3 B<Username> (string, read-only)