Re: replay of CREATE TABLESPACE eats data at wal_level=minimal - Mailing list pgsql-hackers

From Robert Haas
Subject Re: replay of CREATE TABLESPACE eats data at wal_level=minimal
Date
Msg-id CA+TgmoaSsKc12J0NrG=krdD7ViWudFp7A+UJTxy12HqJTUMVjg@mail.gmail.com
Whole thread Raw
In response to Re: replay of CREATE TABLESPACE eats data at wal_level=minimal  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: replay of CREATE TABLESPACE eats data at wal_level=minimal  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
On Tue, Aug 10, 2021 at 9:35 AM Robert Haas <robertmhaas@gmail.com> wrote:
> Oh, yeah, I think that works, actually. I was imagining a few problems
> here, but I don't think they really exist. The redo routines for files
> within the directory can't possibly care about having the old files
> erased for them, since that wouldn't be something that would normally
> happen, if there were no recent CREATE TABLESPACE involved. And
> there's code further down to remove and recreate the symlink, just in
> case. So I think your proposed patch might be all we need.

Noah, do you plan to commit this?

Does anyone else want to review?

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: The Free Space Map: Problems and Opportunities
Next
From: Tom Lane
Date:
Subject: Re: NAMEDATALEN increase because of non-latin languages