Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-03-25 Thread Álvaro Herrera
On 2021-Feb-24, Michael Paquier wrote: > On Mon, Feb 22, 2021 at 05:15:57PM -0300, Álvaro Herrera wrote: > > I changed my mind on this after noticing that > > ItemPointerIndicatesMovedPartitions has a few callers; leaving the > > interface incomplete/asymmetric would be worse. So I propose to do

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-23 Thread Michael Paquier
On Mon, Feb 22, 2021 at 05:15:57PM -0300, Álvaro Herrera wrote: > I changed my mind on this after noticing that > ItemPointerIndicatesMovedPartitions has a few callers; leaving the > interface incomplete/asymmetric would be worse. So I propose to do > this. Doing that looks fine to me as well. --

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-22 Thread Álvaro Herrera
On 2021-Feb-21, Michael Paquier wrote: > On Sat, Feb 20, 2021 at 12:25:58PM -0300, Álvaro Herrera wrote: > > Hmm. Alternatively, maybe it'd make sense to change > > HeapTupleHeaderSetMovedPartition to use ItemPointerSetMovedPartitions > > instead of doing ItemPointerSet directly. But that looks

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-20 Thread Michael Paquier
On Sat, Feb 20, 2021 at 12:25:58PM -0300, Álvaro Herrera wrote: > On 2021-Feb-20, Michael Paquier wrote: >> Hearing nothing, I have looked at this stuff and the simplification >> makes sense. Any comments? > > No further comments ... I think the patch is simple enough. Thanks for > looking -- I'

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-20 Thread Álvaro Herrera
On 2021-Feb-20, Michael Paquier wrote: > On Sat, Feb 13, 2021 at 10:49:26AM +0900, Michael Paquier wrote: > > So that's this patch: https://commitfest.postgresql.org/32/2941/. > > Alvaro is most likely going to take care of that, so let's wait for > > him. > > Hearing nothing, I have looked at th

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-20 Thread Michael Paquier
On Sat, Feb 13, 2021 at 10:49:26AM +0900, Michael Paquier wrote: > So that's this patch: https://commitfest.postgresql.org/32/2941/. > Alvaro is most likely going to take care of that, so let's wait for > him. Hearing nothing, I have looked at this stuff and the simplification makes sense. Any co

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-12 Thread Michael Paquier
On Fri, Feb 12, 2021 at 04:42:26PM +, Anastasia Lubennikova wrote: > I wonder, why this patch hangs on commitfest for so long. > The idea of the fix is clear, the code is correct and all tests pass, so, I > move it to ReadyForCommitter status. > > The new status of this patch is: Ready for C

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-02-12 Thread Anastasia Lubennikova
The following review has been posted through the commitfest application: make installcheck-world: tested, passed Implements feature: tested, passed Spec compliant: not tested Documentation:not tested I wonder, why this patch hangs on commitfest for so long. The idea o

Re: some pointless HeapTupleHeaderIndicatesMovedPartitions calls

2021-01-17 Thread Pavan Deolasee
Hi Alvaro, On Tue, Sep 29, 2020 at 10:14 PM Alvaro Herrera wrote: > Hello > > Pavan Deolasee recently noted that a few of the > HeapTupleHeaderIndicatesMovedPartitions calls added by commit > 5db6df0c0117 are useless, since they are done after comparing t_self > with t_ctid. That's because t_se