Am Samstag 08 Januar 2005 20:51 schrieb Ernest Ellingson: > > Could you patch message.rb of postgres-pr with the following patch, and > > tell me what you get on STDOUT: > > > > Index: message.rb > > =================================================================== > > --- message.rb (revision 475) > > +++ message.rb (working copy) > > @@ -32,6 +32,8 @@ > > type = stream.readbytes(1).unpack('C').first unless startup > > length = stream.readbytes(4).unpack('N').first # FIXME: length > > should be signed, not unsigned > > > > + p length > > + > > raise ParseError unless length >= 4 > > > > # initialize buffer > > > > Regards, > > > > Michael > > Hi Michael: > The p length statement yields > > 1178686529 That sure is the problem. Which version of Postgres do you use? > I put a p type line in too. > the type is > 69 That's the 'E' ErrorResponse message. I guess you're using the 2.0 connection protocol (< 7.4), whereas postgres-pr only implements the new 3.0. But the database should IMO close the connection if it sees that you're using a different connection protocol version.... Regards, Michael