Email::Store::Attachment - my losing battle

Matt Lawrence matt.lawrence at virgin.net
Thu Nov 30 18:29:23 GMT 2006


Matt Lawrence wrote:
> There seems to be an undocumented feature in Class::DBI to allow this.
>
>    use DBD::Pg qw( :pg_types );
>
>    Email::Store::Attachment->datatype(payload => {pg_type => PG_BYTEA});
>

That should of course read data_type, not datatype.

Anyway, I've quickly tested this in and it does work.

Second self-reply in a row. Bah!

Matt



More information about the london.pm mailing list