Re: PATCH: Exclude temp relations from base backup

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: David Steele <david(at)pgmasters(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Adam Brightwell <adam(dot)brightwell(at)crunchydata(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: PATCH: Exclude temp relations from base backup
Date: 2018-03-26 15:52:11
Message-ID: 7c1e4911-59bb-7a48-749c-7eac7cd77eb2@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

Will autovacuum (or something else) complain about absense of relfile during
orphan table deleting? I mean, you get a base backup without temp tables, then
you try to run postgres on it and will it complain about existing record in
pg_class and absence of corresponding relfile?

David Steele wrote:
> On 3/13/18 12:34 PM, David Steele wrote:
>
>> Updated the patch to change die() to BAIL_OUT() and use append_to_file()
>> as suggested for another test patch.
>
> Updated patch now that the unlogged table exclusions have been committed
> [1].
>
> Thanks,
>

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-03-26 15:53:23 Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors
Previous Message Tom Lane 2018-03-26 15:44:29 Re: WIP: a way forward on bootstrap data