Fwd: sql_type tinterval not supported by DBD::Pg - Mailing list pgsql-general

From Filip Rembiałkowski
Subject Fwd: sql_type tinterval not supported by DBD::Pg
Date
Msg-id 92869e660805210712u3748dd59we709ed1932d539b3@mail.gmail.com
Whole thread Raw
Responses Re: Fwd: sql_type tinterval not supported by DBD::Pg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

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



pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: bytea case sensitivity
Next
From: "Albe Laurenz"
Date:
Subject: Re: escaping and quoting