RE: Table Drop Error - Mailing list pgsql-admin

From
Subject RE: Table Drop Error
Date
Msg-id 2A91BEF8171A5349931391E0C721CC531D6DB6F5@CPEMS-KPN301.KPNCNL.LOCAL
Whole thread Raw
In response to Table Drop Error  (<soumik.bhattacharjee@kpn.com>)
List 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@lists.postgresql.org' <pgsql-admin@lists.postgresql.org>
Cc: 'pgsql-admin@lists.postgresql.org' <pgsql-admin@lists.postgresql.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@lists.postgresql.org
Cc: pgsql-admin@lists.postgresql.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

pgsql-admin by date:

Previous
From: Devendra Yadav
Date:
Subject: Re: Rename or Removing Postgres user
Next
From: Pepe TD Vo
Date:
Subject: Re: Table Drop Error