From: Tom Lane <tgl@sss.pgh.pa.us>
To: Moreno Andreo <moreno.andreo@evolu-s.it>
Cc: PostgreSQL mailing lists <pgsql-general@postgresql.org>
Subject: Re: Rebuild pg_toast from scratch?
Date: Thu, 05 Sep 2019 09:53:51 -0400
Message-ID: <5458.1567691631@sss.pgh.pa.us> (raw)
In-Reply-To: <c0032b94-b519-187c-cb11-3a535df20b6b@evolu-s.it>
References: <c0032b94-b519-187c-cb11-3a535df20b6b@evolu-s.it>
Moreno Andreo <moreno.andreo@evolu-s.it> writes:
> I have an issue with a Windows 10 PC with Postgres 9.1 x86.
You realize 9.1 is long out of support ...
> Running some SELECTs we got "ERROR: could not open file
> "base/48121/784576": No such file or directory"
Ugh :-(
> Now I need to recreate an empty copy of this table (data can be
> recovered later), how can I achieve this?
TRUNCATE ought to be enough.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, moreno.andreo@evolu-s.it
Subject: Re: Rebuild pg_toast from scratch?
In-Reply-To: <5458.1567691631@sss.pgh.pa.us>
References: <c0032b94-b519-187c-cb11-3a535df20b6b@evolu-s.it> <5458.1567691631@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox