Re: ResourceOwner refactoring - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: ResourceOwner refactoring
Date
Msg-id YAaAqF93S5JzxGNO@paquier.xyz
Whole thread Raw
In response to Re: ResourceOwner refactoring  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Mon, Jan 18, 2021 at 02:22:33PM +0200, Heikki Linnakangas wrote:
> diff --git a/src/common/cryptohash_openssl.c b/src/common/cryptohash_openssl.c
> index 551ec392b60..642e72d8c0f 100644
> --- a/src/common/cryptohash_openssl.c
> +++ b/src/common/cryptohash_openssl.c
[...]
> +/* ResourceOwner callbacks to hold JitContexts  */

Slight copy-paste error here.

>      /*
>       * Ensure, while the spinlock's not yet held, that there's a free
> -     * refcount entry.
> +     * refcount entry and that the resoure owner has room to remember the
> +     * pin.
s/resoure/resource/.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: simplifying foreign key/RI checks
Next
From: Corey Huinker
Date:
Subject: Re: Release SPI plans for referential integrity with DISCARD ALL