PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 13th, 2003, 04:02 PM
metaBarf metaBarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 373 metaBarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 6 sec
Reputation Power: 6
SQLError thrown from java program

I am running a java program that is connected via JDBC. I know the connection works fine, and most transactions work fine, but when I run this one update, it makes this error:


ERROR: fmgr_info: function 4516725: cache lookup failed


Now, if I issue the query seperately in psql, it still comes back with the same error. There are plpgsql functions that are run when this table is updated. Could these be at fault if they return multiple records or something? What is this error from???

Reply With Quote
  #2  
Old November 13th, 2003, 04:45 PM
metaBarf metaBarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 373 metaBarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 49 m 6 sec
Reputation Power: 6
Aargh, I need to stop being so good at finding the answers to my own questions...


fmgr_info: function <number>: cache lookup failed
By Jan Wieck : This happens when you have dropped a function which was referenced by another object (view, operator, aggregate, whatnot). Recreating the function doesn't help, because functions are referenced by OID. You have to drop and recreate all dependant objects as well.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > SQLError thrown from java program


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT