Re: Typo in dshash_find() comments

2021-04-20 Thread Julien Rouhaud
On Tue, Apr 20, 2021 at 02:37:16PM +0200, Magnus Hagander wrote: > On Tue, Apr 20, 2021 at 2:16 PM Julien Rouhaud wrote: > > > > Hi, > > > > I just noticed that a comment for dshash_find() mentions: > > > > "caller must not lock a lock already" > > > > Simple patch to rephrase with "hold a lock" a

Re: Typo in dshash_find() comments

2021-04-20 Thread Magnus Hagander
On Tue, Apr 20, 2021 at 2:16 PM Julien Rouhaud wrote: > > Hi, > > I just noticed that a comment for dshash_find() mentions: > > "caller must not lock a lock already" > > Simple patch to rephrase with "hold a lock" attached. Pushed, thanks. -- Magnus Hagander Me: https://www.hagander.net/ Wo

Typo in dshash_find() comments

2021-04-20 Thread Julien Rouhaud
Hi, I just noticed that a comment for dshash_find() mentions: "caller must not lock a lock already" Simple patch to rephrase with "hold a lock" attached. diff --git a/src/backend/lib/dshash.c b/src/backend/lib/dshash.c index e0c763be32..88ca9d62aa 100644 --- a/src/backend/lib/dshash.c +++ b/src/