X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6893DD8FD1 for ; Thu, 15 Sep 2005 15:02:51 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98660-08 for ; Thu, 15 Sep 2005 18:02:47 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 5D4E3D8FBF for ; Thu, 15 Sep 2005 15:02:46 -0300 (ADT) Received: (qmail 12735 invoked from network); 15 Sep 2005 18:02:47 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 15 Sep 2005 18:02:47 -0000 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <96662A0F-C4C7-4830-818F-92B48681FE83@fastcrypt.com> Cc: Content-Transfer-Encoding: quoted-printable From: Dave Cramer Subject: Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim Senden an das Backend Date: Thu, 15 Sep 2005 14:02:46 -0400 To: =?ISO-8859-1?Q?Sven_H=FCtten?= X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.999 required=5 tests=[AWL=-0.967, WEIRD_QUOTING=1.966] X-Spam-Level: X-Archive-Number: 200509/65 X-Sequence-Number: 13850 Sven, Well, seeing as your query is dynamic, we will have to rely on the =20 server logs can you look through your logs and find the query that fails? Dave On 15-Sep-05, at 1:31 PM, Sven H=FCtten wrote: > > We build querys dynamicly (mapping) with the information of the =20 > metadatas in > our framework. > > Here are the important sql-commands to insert a data row in our =20 > framework: > > Statement stmt =3D > connection.createStatement=20 > (ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCU > R_READ_ONLY); > ... > DatabaseMetaData metaData =3D connection.getMetaData(); > .... > ResultSet result =3D metaData.getColumns("",schema,table,""); > .... > PreparedStatement ps =3D dbConnection.prepareStatement(dynamicQuery); > ... > ParameterMetaData meta =3D ps.getParameterMetaData(); > ... > dbConnection.executePreparedStatement(ps); > ... > stmt.close(); > > > Sven H=FCtten > > > > -----Urspr=FCngliche Nachricht----- > Von: pgsql-jdbc-owner+M13848@postgresql.org > [mailto:pgsql-jdbc-owner+M13848@postgresql.org] Im Auftrag von Dave =20= > Cramer > Gesendet: Donnerstag, 15. September 2005 16:27 > An: Sven H=FCtten > Cc: pgsql-jdbc@postgresql.org > Betreff: Re: [JDBC] org.postgresql.util.PSQLException: > Eingabe/Ausgabe-Fehler {0} beim Senden an das Backend > > Hi, > > Can you tell us what the program is doing when it does this? > > What is it attempting to execute ? > > Dave > On 15-Sep-05, at 10:12 AM, Sven H=FCtten wrote: > > >> >> Hello Postgresql Friends, >> >> i have a problem with postgresql 8.0.3. My Application use the >> function getColumns of DatabaseMetaData. When i start the application >> the function will go for some times, but the the function produces >> errors. Here my Stacktrace. I have no idea. With SAPDB my program is >> ok. >> >> >> org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim >> Senden an >> das Backend. >> at >> org.postgresql.core.v3.QueryExecutorImpl.execute >> (QueryExecutorImpl.java:201) >> >> at >> org.postgresql.jdbc2.AbstractJdbc2Statement.execute >> (AbstractJdbc2Statement.j >> ava:389) >> at >> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags >> (AbstractJdbc2St >> atement.java:314) >> at >> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery >> (AbstractJdbc2Statem >> ent.java:221) >> at >> org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getMaxNameLength >> (Abstract >> Jdbc2DatabaseMetaData.java:81) >> at >> org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getColumns >> (AbstractJdbc2D >> atabaseMetaData.java:2382) >> >> >> ---------------------------------------------------------------- >> My code: >> >> DatabaseMetaData metaData =3D connection.getMetaData(); >> ResultSet result =3D metaData.getColumns("",schema,table,""); >> >> >> Has anybody a solution for my problem? >> >> Best regards >> >> Sven H=FCtten >> >> >> ---------------------------(end of >> broadcast)--------------------------- >> TIP 2: Don't 'kill -9' the postmaster >> >> >> > > > ---------------------------(end of =20 > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that =20= > your > message can get through to the mailing list cleanly > > > ---------------------------(end of =20 > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that =20= > your > message can get through to the mailing list cleanly > >