Re: Unhappy about API changes in the no-fsm-for-small-rels patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unhappy about API changes in the no-fsm-for-small-rels patch
Date
Msg-id 4296.1555642438@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unhappy about API changes in the no-fsm-for-small-rels patch  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Unhappy about API changes in the no-fsm-for-small-rels patch  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes:
> I am thinking that we should at least give it a try to move the map to
> rel cache level to see how easy or difficult it is and also let's wait
> for a day or two to see if Andres/Tom has to say anything about this
> or on the response by me above to improve the current patch.

FWIW, it's hard for me to see how moving the map to the relcache isn't
the right thing to do.  You will lose state during a relcache flush,
but that's still miles better than how often the state gets lost now.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Race conditions with checkpointer and shutdown
Next
From: Tom Lane
Date:
Subject: Re: Race conditions with checkpointer and shutdown