Wednesday, May 21, 2008

[GENERAL] Fwd: sql_type tinterval not supported by DBD::Pg


Hello

[ this was previously sent to dbd-pg mailing list ]


I have a problem with DBD::Pg connecting to postgres 8.2

....
[debug] calling bind_param( 6, '14 days', { 'pg_type' => 704 } )
Cannot bind 6, sql_type tinterval not supported by DBD::Pg




what can this mean?

I would think that both INTERVAL => 1186 and  TINTERVAL => 704  are valid values for bind_param pg_type hash



$ perl -MDBD::Pg -le 'print $DBD::Pg::VERSION'
2.7.2
$ perl -MDBI -le 'print $DBI::VERSION'
1.604


Perl itself is v5.8.8 from Debian etch.




--
Filip RembiaƂkowski



No comments: