Re: PATCH: Exclude temp relations from base backup
Teodor Sigaev <teodor@sigaev.ru>
From: Teodor Sigaev <teodor@sigaev.ru>
To: David Steele <david@pgmasters.net>,
Pg Hackers <pgsql-hackers@postgresql.org>,
Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Adam Brightwell <adam.brightwell@crunchydata.com>,
Masahiko Sawada <sawada.mshk@gmail.com>
Date: 2018-03-26T15:52:11Z
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@sigaev.ru
WWW: http://www.sigaev.ru/
Commits
-
Skip temp tables from basebackup.
- 920a5e500a11 11.0 landed