Hi,
I seem to have hit an issue in a specific case:
Deployment, to a Postgres DB, when DBIx::Class is running from a PAR file.
The crux is that DBIx::Class::Storage::DBI::Pg has overridden sqlt_type() to return 'PostgreSQL' rather than the default behaviour from DBIx::Class::Storage::DBI, which just returns $dbh->{Driver}{Name}. The long form of the name is required when calling out to SQL::Translator, in order that it finds the correct Producer module.

However, when running from a PAR file, for some reason the Class::C3::Componentised::ensure_class_loaded() method is failing to find and load DBIx::Class::Storage::DBI::Pg during DBIx::Class::Schema::Storage::DBI::_populate_dbh() around line 1639 (of version 0.08010).

I've verified that the PAR file does actually contain that Pg.pm in the correct place..

but I wondered if anyone else had seen this problem, or had an idea where I should be looking next?

Cheers,
Toby

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to