pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philippe Sempé <psempe@partner.auchan.fr>
To: pgsql-interfaces@postgresql.org
Subject: Socket command type  unknown
Date: Thu, 29 Apr 2004 14:54:26 +0200 (Paris, Madrid (heure d'été))
Message-ID: <4090FB02.000013.01204@WNT99714444> (raw)

Hello,

I'm developping a deamon, written in C under "Linux RedHat 9".
I'm using ECPG to access my db.
The postgres version is 7.3.2 

Sometimes I've got the "Socket command type  unknown" error message
displayed in my log file after a SELECT or an UPDATE, and then my daemon
lose the connection with the postmaster ('no connection to the server'
message).

I found in the archives that the problem may be a bad synchonization between
the backend (postmaster ?) and the frontend (my daemon / libpq ?). I
understand that because the protocol is waiting for a 'Q' ("query") or an 'X
 ("exit") but I didn't found any solution !

Have you any idea ?

Thanks

Philippe Sempe (France)

view thread (2+ messages)  latest in thread

Message-ID: <4090FB02.000013.01204@WNT99714444>
Permalink:  ../4090FB02.000013.01204@WNT99714444/
Also on:    postgresql.org/message-id/4090FB02.000013.01204@WNT99714444

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: psempe@partner.auchan.fr
  Subject: Re: Socket command type  unknown
  In-Reply-To: <4090FB02.000013.01204@WNT99714444>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox