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 = connection.getMetaData();
ResultSet result = metaData.getColumns("",schema,table,"");
Has anybody a solution for my problem?
Best regards
Sven Hütten