File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes PostgreSql AdminIndex Bug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "PostgreSql AdminIndex Bug" Watch "PostgreSql AdminIndex Bug" New topic
Author

PostgreSql AdminIndex Bug

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
Possibly related.

Same environment as earlier post. Happens viewing forum post.


[originally posted on jforum.net by javafueled]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PostgreSql AdminIndex Bug
 
Similar Threads
Your most hated word
getElementbyTagName Explorer bug
Need help in MDB
WA #1.....word association
WA #2 ..... word association