Re: ResourceOwner refactoring

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Alexander Lakhin <exclusion@gmail.com>, Peter Eisentraut <peter@eisentraut.org>, Andres Freund <andres@anarazel.de>
Cc: Aleksander Alekseev <aleksander@timescale.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Julien Rouhaud <rjuju123@gmail.com>, Robert Haas <robertmhaas@gmail.com>
Date: 2023-11-08T11:37:42Z
Lists: pgsql-hackers
On 07/11/2023 16:00, Alexander Lakhin wrote:
> 07.11.2023 14:28, Heikki Linnakangas wrote:
>>
>> I feel pretty good about this overall. Barring objections or new cfbot failures, I will commit this in the next few days.
> 
> A script, that I published in [1], detects several typos in the patches:
> betwen
> ther
> ReourceOwner
> ResouceOwnerSort
> ReleaseOwnerRelease
> 
> Maybe it's worth to fix them now, or just accumulate and clean all such
> defects once a year...

Fixed these, and pushed. Thanks everyone for reviewing!

-- 
Heikki Linnakangas
Neon (https://neon.tech)




Commits

  1. Make RelationFlushRelation() work without ResourceOwner during abort

  2. Fix bug in bulk extending temp relation after failure

  3. Add missing PGDLLIMPORT markings

  4. Add test_dsa module.

  5. Clear CurrentResourceOwner earlier in CommitTransaction.

  6. Fix dsa.c with different resource owners.

  7. Fix bug in the new ResourceOwner implementation.

  8. Change pgcrypto to use the new ResourceOwner mechanism.

  9. Use a faster hash function in resource owners.

  10. Make ResourceOwners more easily extensible.

  11. Move a few ResourceOwnerEnlarge() calls for safety and clarity.