[Catalyst] Re: Catalyst::TraitFor::Model::DBIC::Schema::Replicated connect info

2010-06-07 Thread Rafael Kitover
On Fri, Jun 04, 2010 at 07:19:37PM -0700, Bill Moseley wrote: ... Then try with my actual YAML: balancer_args: master_read_weight: 0.3 connect_info: - dbi:Pg:dbname=test - - replicants: - - dbi:Pg:dbname=slave - -

Re: [Catalyst] Re: Catalyst::TraitFor::Model::DBIC::Schema::Replicated connect info

2010-06-07 Thread Bill Moseley
On Mon, Jun 7, 2010 at 12:58 PM, Rafael Kitover rkito...@cpan.org wrote: The ::DBI::Replicated storage, to my knowledge, has only been tested on MySQL. If you are using it successfully with Postgres I would love to hear the details. Which replication software you are using, and does it work

[Catalyst] Re: Catalyst::TraitFor::Model::DBIC::Schema::Replicated connect info

2010-06-04 Thread Bill Moseley
It would seem there's a coercion for the synopsis syntax. So, I'm not clear if I'm using it incorrectly or if there's a problem. So, if I take the SYNOPSIS example: my %data = ( traits = ['Replicated'], connect_info = ['dbi:mysql:master', 'user', 'pass'],