pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Unknown Response Type 1
Date: Sun, 01 Aug 2004 16:19:59 +0200
Message-ID: <410CFC0F.1090802@bigfoot.com> (raw)
In-Reply-To: <410CE657.7010101@opencloud.com>
References: <ceiibv$sb$1@floppy.pyrenet.fr>
	<410CE657.7010101@opencloud.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Jowett wrote:

| Gaetano Mendola wrote:
|
|> Hi all,
|> today I seen this message in my logs:
|>
|>
|> org.postgresql.util.PSQLException: Unknown Response Type 1
|
|
| This isn't much use without at least a stack trace, and some context
| (what was the app doing?) would be good too.

This is the stack trace:

org.postgresql.util.PSQLException: Unknown Response Type 1
at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:193)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
at org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
at net.eutelsat.opensky.sdr.command.db.SpSdrCheckPasswd.execute(SpSdrCheckPasswd.java:97)



The application:

PreparedStatement theStatement;
theStatement = theConnection.prepareStatement( "SELECT foo ( ?,? )"  );
theStatement.setString( 1 , aLogin );
theStatement.setString( 2 , aPassword );

ResultSet rs = theStatement.executeQuery();   <---- Line 97


and in the server side:

LOG:  statement: SELECT foo ( 'login','password' )
LOG:  duration: 0.691 ms





|> I never seen it and I'm wondering about what can generate that
|> exception.
|
|
|> I'm using Postgres 7.4.2 with JDBC pg74.1jdbc2.jar
|
|
| Which build of the driver is this? Can you reproduce the problem using
| the current development driver?

I really don't know which build is and I can not reproduce the problem because
I seen it after 12 month that application is running and actualy I'm not seeing
it again.



Regards
Gaetano Mendola









-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBDPwO7UpzwH2SGd4RAn0YAKDvVLQS4TJ3uE/KLgJYzkJnDL2o6wCdG3TY
po/z5rS9A6LGyQECL8998Hc=
=ns1n
-----END PGP SIGNATURE-----




view thread (7+ messages)  latest in thread

Message-ID: <410CFC0F.1090802@bigfoot.com>
Permalink:  ../410CFC0F.1090802@bigfoot.com/
Also on:    postgresql.org/message-id/410CFC0F.1090802@bigfoot.com

 · 

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: mendola@bigfoot.com, oliver@opencloud.com
  Subject: Re: Unknown Response Type 1
  In-Reply-To: <410CFC0F.1090802@bigfoot.com>
  References: <ceiibv$sb$1@floppy.pyrenet.fr> <410CE657.7010101@opencloud.com> <410CFC0F.1090802@bigfoot.com>

* 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