Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-14 Thread Peter Geoghegan
On Sun, Feb 14, 2021 at 4:21 PM Thomas Munro wrote: > Done. Thanks. -- Peter Geoghegan

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-14 Thread Thomas Munro
On Mon, Feb 15, 2021 at 11:33 AM Peter Geoghegan wrote: > On Sun, Feb 14, 2021 at 2:08 PM Thomas Munro wrote: > > I prefer "next", because that's in the name of the variable it reads, > > and the variable name seemed to me to have a more obvious meaning. > > That's why I went for that name in com

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-14 Thread Peter Geoghegan
On Sun, Feb 14, 2021 at 2:08 PM Thomas Munro wrote: > I prefer "next", because that's in the name of the variable it reads, > and the variable name seemed to me to have a more obvious meaning. > That's why I went for that name in commit 2fc7af5e966. I do agree > that it's slightly strange that th

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-14 Thread Thomas Munro
On Mon, Feb 15, 2021 at 10:02 AM Peter Geoghegan wrote: > On Sat, Feb 6, 2021 at 7:40 PM Andres Freund wrote: > > Looks like a mistake on my part... Probably a rename regex that somehow > > went wrong - I went back and forth on those names way too many > > times. Want me to push the fix? > > Spot

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-14 Thread Peter Geoghegan
On Sat, Feb 6, 2021 at 7:40 PM Andres Freund wrote: > Looks like a mistake on my part... Probably a rename regex that somehow > went wrong - I went back and forth on those names way too many > times. Want me to push the fix? Spotted another one: Shouldn't ReadNextFullTransactionId() actually be c

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-07 Thread Peter Geoghegan
On Sat, Feb 6, 2021 at 7:41 PM Peter Geoghegan wrote: > Yes, please do. I could do it myself, but better that you do it > yourself, just in case. I went ahead and fixed it myself. Thanks -- Peter Geoghegan

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-06 Thread Peter Geoghegan
On Sat, Feb 6, 2021 at 7:40 PM Andres Freund wrote: > Looks like a mistake on my part... Probably a rename regex that somehow > went wrong - I went back and forth on those names way too many > times. Want me to push the fix? Yes, please do. I could do it myself, but better that you do it yourself

Re: GlobalVisIsRemovableFullXid() vs GlobalVisCheckRemovableXid()

2021-02-06 Thread Andres Freund
Hi, On 2021-02-06 12:27:30 -0800, Peter Geoghegan wrote: > Why is GlobalVisIsRemovableFullXid() not named > GlobalVisCheckRemovableFullXid() instead? ISTM that that name makes > much more sense, since it is what I'd expect for a function that is > the "Full XID equivalent" of GlobalVisCheckRemovab