Re: ERROR: could not open file "pg_tblspc

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Daulat <daulat(dot)dba(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: ERROR: could not open file "pg_tblspc
Date: 2021-12-15 08:27:43
Message-ID: 28049bf6e24b9138f1484ce5716c692b19845ceb.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)dba(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2021-12-15 09:28:28 Re: [EXTERNAL] Re: Limits user connection in pgbouncer
Previous Message Daulat 2021-12-14 17:42:52 Re: ERROR: could not open file "pg_tblspc