Re: Making index_set_state_flags() transactional

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Rahila Syed <rahila.syed@2ndquadrant.com>
Date: 2020-09-14T04:58:56Z
Lists: pgsql-hackers
On Fri, Sep 11, 2020 at 06:42:09PM +0300, Anastasia Lubennikova wrote:
> I agree that transactional update in index_set_state_flags() is good for
> both cases, that you mentioned and don't see any restrictions. It seems that
> not doing this before was just a loose end, as the comment from 813fb03
> patch clearly stated, that it is safe to make this update transactional.
> 
> The patch itself looks clear and committable.

Thanks for double-checking, Anastasia.  Committed.
--
Michael

Commits

  1. Make index_set_state_flags() transactional