Home  |  Linux  | Mysql  | PHP  | XML
From:David E. Wheeler Date:Sat Jul 26 21:14:05 2008
Subject:Re: [svn:DBD-Pg] r11596 - in DBD-Pg/trunk: . lib/Bundle/DBD t
On Jul 26, 2008, at 20:01, turnstep@cvs.perl.org wrote:

> +=head3 B<ReadOnly> (boolean)
> +
> +$dbh->{ReadOnly} = 1;
> +
> +Specifies if the current database connection should be in read-only  
> mode or not.
> +In this mode, changes that change the database are not allowed and  
> will throw
> +an error. Note: this method will B<not> work if L</AutoCommit> is  
> true.
> +

Great idea, but is this a standard DBI attribute? If not, it should  
probably be "pg_readonly" (or "pg_read_only"), no?

Best,

David
Navigate in group perl.dbd.pg at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants