Author: turnstep Date: Mon Jul 21 07:44:48 2008 New Revision: 11555 Modified: DBD-Pg/trunk/.perlcriticrc DBD-Pg/trunk/Pg.pm
Log: Doc upgrades. Modified: DBD-Pg/trunk/.perlcriticrc ============================================================================== --- DBD-Pg/trunk/.perlcriticrc (original) +++ DBD-Pg/trunk/.perlcriticrc Mon Jul 21 07:44:48 2008 @@ -2,7 +2,7 @@ profile-strictness = quiet [Documentation::PodSpelling] -stop_words = ActiveKids AutoCommit boolean Bunce CachedKids ChildHandles ChopBlanks CompatMode CursorName DBD DBI Datatype dbdpg ErrCount FetchHashKeyName HandleError HandleSetErr InactiveDestroy LongReadLen LongTruncOk Mergl Momjian Mullane NULLABLE OID PgBouncer pgend pglibpq pglogin pgprefix pgquote pgstart perl Postgres PostgreSQL PrintError PrintWarn README RaiseError RowCache RowCacheSize SQL SQLSTATE SSL STDIN STDERR STDOUT Sabino Savepoints ShowErrorStatement TaintIn TaintOut TraceLevel UTF Username afterwards arrayrefs attr autocommit backend bitmask bytea cancelled datatype dbd dbh errstr fd filename getfd getline hashref largeobject len libpq lseg pgbuiltin pgsql runtime savepoint savepoints schemas sslmode tablename tablespace tablespaces tuple typename username varchar undef Perlish arrayref datatypes bool func PID dr +stop_words = ActiveKids AutoCommit boolean Bunce CachedKids ChildHandles ChopBlanks CompatMode CursorName DBD DBI Datatype dbdpg enum ErrCount FetchHashKeyName HandleError HandleSetErr InactiveDestroy LongReadLen LongTruncOk Mergl Momjian Mullane NULLABLE OID PgBouncer pgend pglibpq pglogin pgprefix pgquote pgstart perl Postgres PostgreSQL PrintError PrintWarn README RaiseError RowCache RowCacheSize SQL SQLSTATE SSL STDIN STDERR STDOUT Sabino Savepoints ShowErrorStatement TaintIn TaintOut TraceLevel UTF Username afterwards arrayrefs attr autocommit backend bitmask bytea cancelled datatype dbd dbh errstr fd filename getfd getline hashref largeobject len libpq lseg pgbuiltin pgsql runtime savepoint savepoints schemas sslmode tablename tablespace tablespaces tuple typename username varchar undef Perlish arrayref datatypes bool func PID dr [-Bangs::ProhibitCommentedOutCode] [-Bangs::ProhibitFlagComments] Modified: DBD-Pg/trunk/Pg.pm ============================================================================== --- DBD-Pg/trunk/Pg.pm (original) +++ DBD-Pg/trunk/Pg.pm Mon Jul 21 07:44:48 2008 @@ -2753,12 +2753,17 @@ Also, six additional non-standard fields are returned: - pg_type - data type with additional info i.e. "character varying(20)" - pg_constraint - holds column constraint definition - pg_schema - the unquoted name of the schema - pg_table - the unquoted name of the table - pg_column - the unquoted name of the column - pg_enum_values - an array reference of allowed values for an enum column +B<pg_type>: data type with additional info i.e. "character varying(20)" + +B<pg_constraint>: holds column constraint definition + +B<pg_schema>: the unquoted name of the schema + +B<pg_table>: the unquoted name of the table + +B<pg_column>: the unquoted name of the column + +B<pg_enum_values>: an array reference of allowed values for an enum column Note that the TABLE_SCHEM, TABLE_NAME, and COLUMN_NAME fields all return output wrapped in quote_ident(). If you need the unquoted version, use @@ -2779,11 +2784,15 @@ The five additional custom fields returned are: - pg_tablespace_name - Name of the tablespace, if any - pg_tablespace_location - Location of the tablespace - pg_schema - the unquoted name of the schema - pg_table - the unquoted name of the table - pg_column - the unquoted name of the column +B<pg_tablespace_name>: name of the tablespace, if any + +B<pg_tablespace_location>: location of the tablespace + +B<pg_schema>: the unquoted name of the schema + +B<pg_table>: the unquoted name of the table + +B<pg_column>: the unquoted name of the column In addition to the standard format of returning one row for each column found for the primary key, you can pass the C<pg_onerow> attribute to force @@ -3459,7 +3468,7 @@ =item C<Database> (dbh, read-only) -Implemented by DBI, no driver-specific impact. +Returns the database handle this statement handle was created from. =item C<ParamValues> (hash ref, read-only)
