This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

PostgreSql AdminIndex Bug

 
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]
 
And inside of my fortune cookie was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic