On 18.09.2012 23:41, Tim Bunce wrote:
> On Mon, Sep 17, 2012 at 06:56:34PM +0200, Jens Rehsack wrote:
>> Hi there,
>>
>> today I got some people in irc://irc.perl.org/#dbi to discuss planned
>> extension to DBD::File.
>>
>> There were several goals to reach:
>> 1) add readonly mode to DBI::DBD::SqlEngine
>>    ==> will be solved by adding a new attribute sql_readonly to
>>        DBI::DBD::SqlEngine and if required fix DBI::SQL::Nano and
>>        SQL::Statement and bump SQL::Statement requirement in *::Nano
> 
> And set via the existing $dbh->{ReadOnly} attribute I presume.

I take a look if we can't misuse it instead of introducing a
new attribute. Thanks for the hint.

>> 2) add support for other I/O layers to DBD::File
>>    a) add support for streams (PerlIO)
>>    b) add support for other kind of fetch_row/push_row processing
>> [...]
>>    Proposed solution:
>> [...]
>>    Additional improvements of this way:
>> [...]
>>
>>    I would prefer to add default backends below DBD::File namespace,
>>    eg. DBD::File::Backend::PerlIO or DBD::File::Backend::Filesystem.
>>
>> Any comments?
> 
> All sounds good.
> 
> Now, for balance, what are the possible risks and downsides?

The only risk is the usual risk for new features of software:
new uncovered bugs. I expect and see no downsides - it's fully
designed to be backward compatible.

/Jens

Reply via email to