Re: Error code associated to "could not open relation with OID ..."

From: Richard Huxton <dev(at)archonet(dot)com>
To: Galantucci Giovanni <Giovanni(dot)Galantucci(at)italtel(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error code associated to "could not open relation with OID ..."
Date: 2007-03-09 13:50:54
Message-ID: 45F1663E.3070906@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Galantucci Giovanni wrote:
> Hi all,
>
> I'm using jdbc to connect to a remote database and this morning I've
> found an SQLException on my log file with this error description:
>
> "could not open relation with OID ...".
>
> Does anyone know which error code is associated to such exception?

It's usually down to a cached plan referring to a temporary table that's
being replaced. Could be a normal table being dropped/recreated though.

It could be a query-plan cached by your jdbc stuff or perhaps a plpgsql
function using TEMP tables?

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Walter Vaughan 2007-03-09 13:57:10 Re: Anyone know a good opensource CRM that actually installs with Posgtres?
Previous Message Ron Johnson 2007-03-09 13:48:37 Re: Beginner's Questions