RE: Table Drop Error

From: <soumik(dot)bhattacharjee(at)kpn(dot)com>
To: <pgsql-admin(at)lists(dot)postgresql(dot)org>
Cc: <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: RE: Table Drop Error
Date: 2019-02-14 16:51:44
Message-ID: 2A91BEF8171A5349931391E0C721CC531D6DB6F5@CPEMS-KPN301.KPNCNL.LOCAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

A new line I got now.

# DROP TABLE caprimeta.tcr_codes CASCADE;
ERROR: XX000: cache lookup failed for relation 49179
LOCATION: heap_drop_with_catalog, heap.c:1773

From: Bhattacharjee, Soumik
Sent: Thursday, February 14, 2019 5:04 PM
To: 'pgsql-admin(at)lists(dot)postgresql(dot)org' <pgsql-admin(at)lists(dot)postgresql(dot)org>
Cc: 'pgsql-admin(at)lists(dot)postgresql(dot)org' <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: RE: Table Drop Error

Its not moving ahead with drop.

# delete from pg_depend where objid=49179;
DELETE 0
# delete from pg_depend where objid=49179;
DELETE 0
# DROP TABLE caprimeta.tcr_codes CASCADE;
ERROR: cache lookup failed for relation 49179
#

From: Bhattacharjee, Soumik
Sent: Thursday, February 14, 2019 4:45 PM
To: pgsql-admin(at)lists(dot)postgresql(dot)org<mailto:pgsql-admin(at)lists(dot)postgresql(dot)org>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org<mailto:pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Table Drop Error

Hi All,

Any idea on this, it’s kind of stuck here for me.

# DROP TABLE caprimeta.tcr_codes CASCADE;

ERROR: cache lookup failed for relation 49179

Thanks
Soumik

Browse pgsql-admin by date

  From Date Subject
Next Message Pepe TD Vo 2019-02-14 17:19:28 Re: Table Drop Error
Previous Message Devendra Yadav 2019-02-14 16:20:19 Re: Rename or Removing Postgres user