[Dbix-class] bind_param_array failed: Arrayref for parameter 1 has 6 elements but parameter 6 has 11

Bill Moseley moseley at hank.org
Wed Mar 9 19:51:31 GMT 2011


On Wed, Mar 9, 2011 at 11:03 AM, Peter Rabbitson <rabbit+dbic at rabbit.us>wro=
te:

> DBIx::Class::Storage::DBI::txn_do():
>> DBIx::Class::Storage::DBI::insert_bulk():
>> DBI Exception: DBD::Pg::st bind_param_array failed:
>> Arrayref for parameter 1 has 6 elements but parameter 6 has 11 [for
>> Statement "INSERT INTO pos_marker ( end_pos, end_line, end_page_index,
>> entry, start_pos, start_line, start_page_index)
>> VALUES ( ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 1=3D'98',
>> 2=3D'16', 3=3D'0', 4=3D'66275820', 5=3D'96', 6=3D'16', 7=3D'0'] at
>>
>> /home/palladium/perl5/lib/perl5/i686-linux-thread-multi/Moose/Meta/Metho=
d/Delegation.pm
>>
>>
> That's DBD::Pg having problems with prepare_cached. This particular
> issue is fixed in 2.15.0 (without a Changelog entry :(
>

Peter, you mentioned prepare_cached.  I'm using pg_server_prepare =3D> 0
(IIRC, for pgbouncer).  Do you still think it's the same issue?

Thanks,

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20110309/b9e=
8ecd8/attachment.htm


More information about the DBIx-Class mailing list