dbTalk Databases Forums  

[BUGS] Canceling statement results in broken connection (JDBC)

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Canceling statement results in broken connection (JDBC) in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alexander Staubo
 
Posts: n/a

Default [BUGS] Canceling statement results in broken connection (JDBC) - 10-08-2003 , 11:19 AM






Using Statement.cancel() to cancel a running query, queries are
sometimes successfully canceled, but more often result in a broken
connection, after which all interactions result in an error such as
this:

Unknown Response Type c
at org.postgresql.core.QueryExecutor.execute(QueryExe cutor.java:123)
at
org.postgresql.jdbc1.AbstractJdbc1Connection.ExecS QL(AbstractJdbc1Connec
tion.java:505)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.execut e(AbstractJdbc1Stateme
nt.java:320)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execut e(AbstractJdbc2Stateme
nt.java:48)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.execut eQuery(AbstractJdbc1St
atement.java:153)

The response type code is random, implying that the client is receiving
unexpected data from the back end.

PostgreSQL 7.3.4, Sun Java2 SDK 1.4.2, Windows (Cygwin).

Alexander.


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.