3 Feb 2003 01:06
ODBC breaks COUNTS, SEQUENCES as of Postgresql 7.3
Alain Picard <Alain.Picard <at> memetrics.com>
2003-02-03 00:06:49 GMT
2003-02-03 00:06:49 GMT
Dear ODBC users,
I have an application, written in lisp, which uses the unixODBC
driver manager (though I've tested what follows with iODBC, with
the same results). I have no real control over how the ODBC library
is being used in this application; it comes from a 3rd party vendor.
I'm trying to reverse engineer what they do via customer support and
inspecting the ODBC trace log files.
On the the problem.
With versions of Postgresql <= 7.2, I would obtain the following
results,
(select [count [*]] :from [foo])
=>
((73))
("count")
As of 7.3, I am now obtaining
(select [count [*]] :from [foo])
=>
(("73"))
("count")
Note the 73 is now "73". My understanding is that this is because as
of 7.3, postgresql now reports counts, sequences, etc as INTEGER8,
whereas they were previously INTEGER4.
(Continue reading)
RSS Feed