Re: BUG #19686: Rolling back SET TABLESPACE - Mailing list pgsql-hackers

From Alexandre Felipe
Subject Re: BUG #19686: Rolling back SET TABLESPACE
Date
Msg-id CAE8JnxPp+FN38=qTSFdnh67-u7wE6NqG2-Cc-ECUwO+BUG0XrQ@mail.gmail.com
Whole thread
In response to Re: BUG #19686: Rolling back SET TABLESPACE  (Michael Paquier <michael@paquier.xyz>)
Responses Re: BUG #19686: Rolling back SET TABLESPACE
List pgsql-hackers
Thank you all.

Was good to see so many reviews in such a short time.

Given that the expected behaviour is to copy only the heap.
Indexes get corrupted on modifications.
We shouldn't push the cost to commit.

What if we simply block modifications to the table in a transaction
after it moved to a new tablespace?

Regards,
Alexandre

pgsql-hackers by date:

Previous
From: Trakshan Mishra
Date:
Subject: Re: Re: [PATCH] Clear FatalError earlier during crash restart
Next
From: Xuneng Zhou
Date:
Subject: Re: test: avoid redundant standby catchup in 049_wait_for_lsn