Re: ERROR: cache lookup failed for relation X

From: "justin(at)magwerks(dot)com" <justin(at)magwerks(dot)com>
To: "raghavendra t" <raagavendra(dot)rao(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: ERROR: cache lookup failed for relation X
Date: 2010-04-03 17:04:57
Message-ID: 17045727200882@mail.magwerks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Because You dropped/deleted the table cache in Session A.

The simplest way to look at it is Session B was lock out when the Drop table command was issued from Session A. Now when session B finally got its chance to drop/delete the table it was already gone .

What kind error were you expecting from Postgresql to Return when it can't find the table???

In the future please don't cross post to multiple lists.

---- Message from mailto:raagavendra(dot)rao(at)gmail(dot)com raghavendra t raagavendra(dot)rao(at)gmail(dot)com at 04-03-2010 10:08:11 PM ------

step 6 - Issue the commit in Session A

postgres=# commit;

Step -7 nowwe can the see the error in the session B

ERROR: cache lookup failed for relation X

Could plese tell me, why this is generated and what is the cause.

Thanks in advance

Regards
Raghavendra

All legitimate Magwerks Corporation quotations are sent in a .PDF file attachment with a unique ID number generated by our proprietary quotation system. Quotations received via any other form of communication will not be honored.

CONFIDENTIALITY NOTICE: This e-mail, including attachments, may contain legally privileged, confidential or other information proprietary to Magwerks Corporation and is intended solely for the use of the individual to whom it addresses. If the reader of this e-mail is not the intended recipient or authorized agent, the reader is hereby notified that any unauthorized viewing, dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and destroy all occurrences of this e-mail immediately.
Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-04-03 17:05:09 Re: ERROR: cache lookup failed for relation X
Previous Message raghavendra t 2010-04-03 16:38:11 ERROR: cache lookup failed for relation X

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2010-04-03 17:05:09 Re: ERROR: cache lookup failed for relation X
Previous Message raghavendra t 2010-04-03 16:38:11 ERROR: cache lookup failed for relation X