Re: Migration 7.3 to 7.4 Numeric values using PQ_ interface

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Billington <paulfwb(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Migration 7.3 to 7.4 Numeric values using PQ_ interface
Date: 2003-12-07 19:59:39
Message-ID: 23881.1070827179@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?iso-8859-1?q?Paul=20Billington?= <paulfwb(at)yahoo(dot)com> writes:
> I have been using the C libraries with version
> 7.33 to retrieve data with success. Now I have
> migrated to 7.4., although using the psql client all
> looks fine my integer values returned through the
> programmatic interface are wild, e.g. should be 101
> and is 7236487.

Hmm, are you using binary cursors? We changed the on-the-wire format
for binary data to be more portable ...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dhaval Bhagat 2003-12-08 06:12:43 java.lang.NullPointerException - at org.postgresql.Connection.ExecSQL(Connection.java:312)
Previous Message Peter Eisentraut 2003-12-07 10:23:23 Re: Corrupted string length for bit(n) in information schema