[Bast-commits] r7543 - DBIx-Class/0.08/branches/pg_unqualified_schema/lib/DBIx/Class/Storage/DBI

rbuels at dev.catalyst.perl.org rbuels at dev.catalyst.perl.org
Fri Sep 4 00:41:56 GMT 2009


Author: rbuels
Date: 2009-09-04 00:41:56 +0000 (Fri, 04 Sep 2009)
New Revision: 7543

Modified:
   DBIx-Class/0.08/branches/pg_unqualified_schema/lib/DBIx/Class/Storage/DBI/Pg.pm
Log:
couple of comment/documentation tweaks to pg storage driver

Modified: DBIx-Class/0.08/branches/pg_unqualified_schema/lib/DBIx/Class/Storage/DBI/Pg.pm
===================================================================
--- DBIx-Class/0.08/branches/pg_unqualified_schema/lib/DBIx/Class/Storage/DBI/Pg.pm	2009-09-04 00:20:39 UTC (rev 7542)
+++ DBIx-Class/0.08/branches/pg_unqualified_schema/lib/DBIx/Class/Storage/DBI/Pg.pm	2009-09-04 00:41:56 UTC (rev 7543)
@@ -39,6 +39,7 @@
 }
 
 
+# get the postgres search path, and cache it
 sub _get_pg_search_path {
     my ($self,$dbh) = @_;
     # cache the search path as ['schema','schema',...] in the storage
@@ -173,8 +174,8 @@
 =head1 POSTGRESQL SCHEMA SUPPORT
 
 This supports multiple PostgreSQL schemas, with one caveat: for
-performance reasons, the schema search path is queried the first time it is
-needed and CACHED for subsequent uses.
+performance reasons, data about the search path, sequence names, and
+so forth is queried as needed and CACHED for subsequent uses.
 
 For this reason, you should do any necessary manipulation of the
 PostgreSQL search path BEFORE instantiating your schema object, or as




More information about the Bast-commits mailing list