Re: ERROR: could not open file "pg_tblspc - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: ERROR: could not open file "pg_tblspc
Date
Msg-id 28049bf6e24b9138f1484ce5716c692b19845ceb.camel@cybertec.at
Whole thread Raw
In response to Re: ERROR: could not open file "pg_tblspc  (Daulat <daulat.dba@gmail.com>)
Responses Re: ERROR: could not open file "pg_tblspc  (Daulat <daulat.dba@gmail.com>)
List pgsql-admin
On Tue, 2021-12-14 at 23:12 +0530, Daulat wrote:
> Will it work if we rebuild that index ? Looks like it is an issue with the index.
> 
> On Tue, Dec 14, 2021 at 10:55 PM Daulat <daulat.dba@gmail.com> wrote:
> > Sorry I missed it  ! 
> > 
> > The output of query is 
> > 
> > SELECT oid::regclass, relkind FROM pg_class WHERE relfilenode = 876783;
> >             oid             | relkind
> > ----------------------------+---------
> >  grc.masterdata_code_unique | i

Yes, the index file is missing.  If you are lucky, REINDEX INDEX will help.

You should figure out who or what goes around deleting files in your
data directory.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-admin by date:

Previous
From: Daulat
Date:
Subject: Re: ERROR: could not open file "pg_tblspc
Next
From: Achilleas Mantzios
Date:
Subject: Re: [EXTERNAL] Re: Limits user connection in pgbouncer