Re: [CDBI] Class::DBI patch
"Edward J. Sabol" <sabol-2oVx0MVsMgiP/[email protected]> Thu, 17 Jan 2008 14:18:46 -0500
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
Veselin Slavov wrote:
> I'm using '*Class::DBI*' in my projects with '*DBD::Pg*' database
> driver. When use some tables like this
> *__PACKAGE__->table('schema_name.table_name');*
> and inserts more than 1 record - inserting failed!
> To simulate this problem please see attached file '*simulate.pl*'.
> I found solution - *Class_DBI.diff* - and think it will be useful for
> other PostgreSQL users also.
>
> I will be very happy if You apply patch in future version of package.
I probably shouldn't speak for Tony, but I can't imagine him accepting such a
patch. It's very PostgreSQL-specific. I think you would have better luck if
you submit a patch to Class::DBI::Pg which adds an override for the
_auto_increment_value() method. That seems to be the appropriate place for
such a fix to me.
http://search.cpan.org/~dmaki/Class-DBI-Pg/
Hope this helps,
Ed