Re: type cache cleanup improvements

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Subject: Re: type cache cleanup improvements
Date: 2024-03-11 12:24:57
Message-ID: CAJ7c6TPyfqAEbyXcAx7zZKrh8Wyp2H3fkmhEeVnO8O97japYtQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> Yep, exacly. One time from 2^32 we reset whole cache instead of one (or several)
> entry with hash value = 0.

Got it. Here is an updated patch where I added a corresponding comment.

Now the patch LGTM. I'm going to change its status to RfC unless
anyone wants to review it too.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v4-0001-Improve-performance-of-type-cache-cleanup.patch application/octet-stream 16.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2024-03-11 12:30:00 Re: Add new error_action COPY ON_ERROR "log"
Previous Message Alvaro Herrera 2024-03-11 12:01:52 Re: make BuiltinTrancheNames less ugly