dbTalk Databases Forums  

[BUGS] V2 protocol -> 8.1 server

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


Discuss [BUGS] V2 protocol -> 8.1 server in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default [BUGS] V2 protocol -> 8.1 server - 04-23-2005 , 12:55 AM







The 8.1 server doesn't work when issuing queries using the v2 protocol,
notably the isnull bitmask in the DataRow message is incorrect. I suspect
the problem is with this commit:

http://archives.postgresql.org/pgsql...3/msg00224.php

I've attached the tcpdump output from establishing a connection with the
JDBC driver using the V2 protocol to a 7.4 and an 8.1 server. In the 7.4
server after the 'D' message is c0 while 8.1 has 00 as the next byte.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

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

Default Re: [BUGS] V2 protocol -> 8.1 server - 04-23-2005 , 01:35 AM






Kris Jurka <books (AT) ejurka (DOT) com> writes:
Quote:
The 8.1 server doesn't work when issuing queries using the v2 protocol,
Yeah, looks like I broke something :-( ... will fix tomorrow.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


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

Default Re: [BUGS] V2 protocol -> 8.1 server - 04-23-2005 , 12:48 PM



Kris Jurka <books (AT) ejurka (DOT) com> writes:
Quote:
The 8.1 server doesn't work when issuing queries using the v2 protocol,
notably the isnull bitmask in the DataRow message is incorrect. I suspect
the problem is with this commit:

http://archives.postgresql.org/pgsql...3/msg00224.php
Yup, I broke it there :-(. Fixed --- thanks for the report!

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) 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.