[Catalyst] Catalyst: Postgres

Andreas Marienborg omega at palle.net
Mon Sep 12 16:41:58 CEST 2005


On 12. sep. 2005, at 16.22, Danh Nguyen wrote:

> Thank you Matt S Trout and Chisel Wright
>
> Yes, you're right - am not using the DBD::Pg, the PgPP instead.  
> Because I don't have the
> - MS VC++.Net Standard Edition
> as required by the installation instruction for win32. But I use the
>
> $dbh = DBI->connect("dbi:PgPP:dbname ...
>
> to connect to Postgres from a perl script no problem. Why do I need  
> to have the DBI::Pg ?
>

Because there is no Class::DBI::Loader submodule for PgPP, and as  
such, Loader wont be able to automaticly discover and create a model  
for you. You can, of course, write model-classes yourself to  
represent the tables like you would with regular Class::DBI.


andreas



More information about the Catalyst mailing list