Re: [18] Fix a few issues with the collation cache - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: [18] Fix a few issues with the collation cache
Date
Msg-id 9aaca8e8c99c266964f11e983a38c1d61999bb90.camel@j-davis.com
Whole thread Raw
In response to [18] Fix a few issues with the collation cache  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On Tue, 2024-12-10 at 15:44 +0900, Michael Paquier wrote:
> On Fri, Sep 20, 2024 at 05:28:48PM -0700, Jeff Davis wrote:
> > Updated and rebased.
>
> The patch has been failing to apply for a couple of weeks now.  Could
> you rebase please?

I committed some of the patches and fixed problem #1.

The way I used ResourceOwners to fix problems #2 and #3 is a bit
awkward. I'm not sure if it's worth the ceremony to try to avoid leaks
during OOM. And other paths that leak could be fixed more simply by
freeing it directly rather than relying on the resowner mechanism.
I think I'll withdraw this patch and submit a separate patch to do it
the simpler way.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Add a warning message when using unencrypted passwords
Next
From: John Naylor
Date:
Subject: Re: fix deprecation mention for age() and mxid_age()