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-15 11:21:26
Message-ID: 2A91BEF8171A5349931391E0C721CC531D6DB881@CPEMS-KPN301.KPNCNL.LOCAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

Anyone faced and solved below kind of issues?

Thanks
Soumik

From: Bhattacharjee, Soumik
Sent: Thursday, February 14, 2019 5:52 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

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<mailto: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<mailto: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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Steben 2019-02-15 15:30:12 help requested on archive_command
Previous Message Dave Page 2019-02-15 08:42:47 Re: pgAdmin startup error : Segmentation fault (core dumped)