dbTalk Databases Forums  

[BUGS] Migration 7.3 to 7.4 Numeric values using PQ_ interface

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Migration 7.3 to 7.4 Numeric values using PQ_ interface in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Billington
 
Posts: n/a

Default [BUGS] Migration 7.3 to 7.4 Numeric values using PQ_ interface - 12-04-2003 , 01:39 PM






Hi,
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.

Char and varchar are fine. Has something changed
radically in this release that could cause a binary
incompatibility?
Any suggestions?

Thanks,
Paul

__________________________________________________ ______________________
Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Migration 7.3 to 7.4 Numeric values using PQ_ interface - 12-07-2003 , 02:02 PM






=?iso-8859-1?q?Paul=20Billington?= <paulfwb (AT) yahoo (DOT) com> writes:
Quote:
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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.