Re: Socket command type I unknown - Mailing list pgsql-general

From Tom Lane
Subject Re: Socket command type I unknown
Date
Msg-id 16672.1139033815@sss.pgh.pa.us
Whole thread Raw
In response to Socket command type I unknown  (Joel Richard <postgresql@joelrichard.com>)
Responses Re: Socket command type I unknown
List pgsql-general
Joel Richard <postgresql@joelrichard.com> writes:
> ... we occasionally get the following message in our apache log
> file. I'm looking for information on what it means:

>    DBD::Pg::db selectrow_array failed: FATAL:  Socket command type I
> unknown

This looks to me like a protocol-level incompatibility: probably the
client code is sending data in a slightly different format than the
server is expecting, or one side or the other is off-by-one about
message lengths, or something like that.  One way or another the
server is receiving an 'I' when it wasn't expecting that.

I'm not aware of any such bugs on the server side in 7.3.4.  What I
suspect is a problem on the DBD::Pg side, where you did not specify
what version you are using ... but if it's recent, it probably thinks
that talking to 7.3.4 is a legacy problem ...

            regards, tom lane

pgsql-general by date:

Previous
From: Joel Richard
Date:
Subject: Socket command type I unknown
Next
From: Philippe Ferreira
Date:
Subject: Re: Bug with sequences and WAL ?