Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PostgreSql AdminIndex Bug

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

An error has occurred in admin index
java.sql.SQLException: ERROR: operator does not exist: timestamp without time zone integer
is this bug ?
[originally posted on jforum.net by omidp]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely either a problem with a column definition (DB servers like PostGres and MySQL are morphing their proprietary time/date columns into SQL standard ones as new versions come out...) or in the related query.

It might also be related to using a new DB with an old JDBC driver (or vice versa).

Where is this happening, what does the log file say, what is your environment?
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
monroe wrote:

It might also be related to using a new DB with an old JDBC driver (or vice versa).

Where is this happening, what does the log file say, what is your environment?

Where is log file?
My environment is : Fedora 9
JDK1.5.16
DB : Postgresql 1.8.4
[originally posted on jforum.net by omidp]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTH. I have the same error too.

PostgreSQL 8.3.6.
Tomcat 5.0.28.
postgresql-8.3-603.jdbc3.jar (in common/lib).




[originally posted on jforum.net by javafueled]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Possibly related.

Same environment as earlier post. Happens viewing forum post.


[originally posted on jforum.net by javafueled]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any patches, send them my way. I will be happy to test.

Regards,
Tim
[originally posted on jforum.net by javafueled]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution to this is explained here http://archives.postgresql.org//pgsql-bugs/2008-04/msg00092.php

I'm going to download the source. Possibly even submit a patch. JIRA is down, so ... watch for it here.

[originally posted on jforum.net by javafueled]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The solution is explained here: http://californiaccw.org/posts/list/5016.page

Requires a patch to a SQL file and rebundling of the war file to implement.
[originally posted on jforum.net by javafueled]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic