• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

PostgreSql AdminIndex Bug

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic