From: Moreno Andreo <moreno.andreo@evolu-s.it>
To: pgsql-general@lists.postgresql.org
Subject: Re: Rebuild pg_toast from scratch?
Date: Thu, 5 Sep 2019 18:20:09 +0200
Message-ID: <6b26ee91-101c-b260-3d25-5147069620b4@evolu-s.it> (raw)
In-Reply-To: <5458.1567691631@sss.pgh.pa.us>
References: <c0032b94-b519-187c-cb11-3a535df20b6b@evolu-s.it>
<5458.1567691631@sss.pgh.pa.us>
Hi Tom and thanks for your time,
Il 05/09/19 15:53, Tom Lane ha scritto:
> 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 ...
Absolutely :-)
I'm about to migrate it to 11
> 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.
truncate pg_toast_49713;
ERROR: relation "pg_toast_49713" does not exist
:-\
... or do I need to truncate the "master" table (the table blobs are in)?
Thanks
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: moreno.andreo@evolu-s.it
Subject: Re: Rebuild pg_toast from scratch?
In-Reply-To: <6b26ee91-101c-b260-3d25-5147069620b4@evolu-s.it>
References: <c0032b94-b519-187c-cb11-3a535df20b6b@evolu-s.it> <5458.1567691631@sss.pgh.pa.us> <6b26ee91-101c-b260-3d25-5147069620b4@evolu-s.it>
* 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