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.
> 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?
Tim.