strange error message
strange error message
От:
Uwe Bartels <uwe.bartels@gmail.com>
Дата:
Hi,
I've got a strange error message in our java application.
the only reference to this message i find in http://mingo.info-science.uiowa.edu/eichmann/courses/database/Postgres/programmer.pdf. but I still don't know how to solve this or even what the source od this error is.
currently I don't have the executed sql yet. I'm trying to get this.
Any Idea what that could be?
ERROR JDBCTransaction:124 - JDBC commit failed
org.postgresql.util.PSQLException: ERROR: bogus varno: 65001
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:671)
at org.postgresql.jdbc2.AbstractJdbc2Connection.commit(AbstractJdbc2Connection.java:691)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$ConnectionHandler.invoke(AbstractJdbc23PooledConnection.java:352)
at $Proxy24.commit(Unknown Source)
at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:139)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:115)
...
Thanks,
Uwe
Re: strange error message
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Uwe Bartels writes: > I've got a strange error message in our java application. > ERROR JDBCTransaction:124 - JDBC commit failed > *org.postgresql.util.PSQLException: ERROR: bogus varno: 65001* This is a symptom of some kind of planner error. If you are not running the latest minor release of your Postgres branch, update and see if it goes away. If not, please file a bug report with sufficient information to reproduce the problem by hand (ie, the problem query plus schema+data sufficient to run it against). regards, tom lane
Re: strange error message
От:
Uwe Bartels <uwe.bartels@gmail.com>
Дата:
Hi Tom,
Cool. Thanks for your answer.
Best Regards,
Uwe
Cool. Thanks for your answer.
Best Regards,
Uwe
On 25 November 2011 17:43, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Uwe Bartels <uwe.bartels@gmail.com> writes:
> I've got a strange error message in our java application.> ERROR JDBCTransaction:124 - JDBC commit failed> *org.postgresql.util.PSQLException: ERROR: bogus varno: 65001*
This is a symptom of some kind of planner error. If you are not
running the latest minor release of your Postgres branch, update
and see if it goes away. If not, please file a bug report with
sufficient information to reproduce the problem by hand (ie, the
problem query plus schema+data sufficient to run it against).
regards, tom lane