pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonio Rodriguez Anaya <arodriguez@dia.uned.es>
To: pgsql-jdbc@postgresql.org
Subject: ERROR: The backend has broken the connection -- AND: FATAL: Socket command type unknown
Date: Thu, 19 Jan 2006 15:46:33 +0100
Message-ID: <2a79240a023ca6313b0672d6b9950365@dia.uned.es> (raw)

Hi,

I have some problems with jdbc and postgresql 7.3.
I've developed a class java to read form file, to get interesting 
information and to store them in database. The class gets connect with 
postgrsql by jdbc (pg73jdbc3.jar) without problems. It does some 
queries (select, update, insert) but a error happens in the same point.
The error message in the java class is:

ErrorCod: 0
Message: The backend has broken the connection. Possibly the action you 
have attempted has caused it to close.
State: null


The query inserts data in the database and gets identificator by 
function.
I execute the query by psql and there isn't any problem. I check if the 
query has been executed in postgresql by java class, and yes, it has 
been executed correctly. But the data isn't got by java class.

There is a error message in postgresql:

FATAL:  Socket command type   unknown


I don't know what is happened. I've changed the query but the errors go 
on. The query is executed  in a method of the class and the error 
appear after 5 queries are executed correctly in the same method.

I need help because I don't know where is the problem.

Thanks in advanced.

Toni.
  




view thread (7+ messages)  latest in thread

Message-ID: <2a79240a023ca6313b0672d6b9950365@dia.uned.es>
Permalink:  ../2a79240a023ca6313b0672d6b9950365@dia.uned.es/
Also on:    postgresql.org/message-id/2a79240a023ca6313b0672d6b9950365@dia.uned.es

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: arodriguez@dia.uned.es
  Subject: Re: ERROR: The backend has broken the connection -- AND: FATAL: Socket command type unknown
  In-Reply-To: <2a79240a023ca6313b0672d6b9950365@dia.uned.es>
  References: <2a79240a023ca6313b0672d6b9950365@dia.uned.es>

* 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