Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-08 Thread Alexander Korotkov
On Thu, Aug 8, 2024 at 7:45 AM Pavel Stehule wrote: > st 7. 8. 2024 v 22:25 odesílatel Alexander Korotkov > napsal: >> >> On Wed, Aug 7, 2024 at 1:34 PM Pavel Stehule wrote: >> > st 7. 8. 2024 v 12:22 odesílatel Alexander Korotkov >> > napsal: >> >> Thank you. >> >> Please see 40064a8ee1 take

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Pavel Stehule
st 7. 8. 2024 v 22:25 odesílatel Alexander Korotkov napsal: > On Wed, Aug 7, 2024 at 1:34 PM Pavel Stehule > wrote: > > st 7. 8. 2024 v 12:22 odesílatel Alexander Korotkov < > aekorot...@gmail.com> napsal: > >> Thank you. > >> Please see 40064a8ee1 takes special efforts to match HTAB hash > >> f

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Alexander Korotkov
On Wed, Aug 7, 2024 at 1:34 PM Pavel Stehule wrote: > st 7. 8. 2024 v 12:22 odesílatel Alexander Korotkov > napsal: >> Thank you. >> Please see 40064a8ee1 takes special efforts to match HTAB hash >> function to syscache hash function. By default, their hash values >> don't match and you can't s

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Alexander Korotkov
On Wed, Aug 7, 2024 at 7:30 PM Robert Haas wrote: > On Wed, Aug 7, 2024 at 11:55 AM Alexander Korotkov > wrote: > > On Wed, Aug 7, 2024 at 3:24 PM Robert Haas wrote: > > > You may have already realized this, but the name of the function the > > > patch adds is not the same as the name that appe

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Robert Haas
On Wed, Aug 7, 2024 at 11:55 AM Alexander Korotkov wrote: > On Wed, Aug 7, 2024 at 3:24 PM Robert Haas wrote: > > You may have already realized this, but the name of the function the > > patch adds is not the same as the name that appears in the commit > > message. > > :sigh: > I didn't realize t

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Alexander Korotkov
On Wed, Aug 7, 2024 at 3:24 PM Robert Haas wrote: > You may have already realized this, but the name of the function the > patch adds is not the same as the name that appears in the commit > message. :sigh: I didn't realize that before your message. That would be another item for my checklist: e

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Robert Haas
You may have already realized this, but the name of the function the patch adds is not the same as the name that appears in the commit message. ...Robert

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Pavel Stehule
st 7. 8. 2024 v 12:22 odesílatel Alexander Korotkov napsal: > On Wed, Aug 7, 2024 at 1:03 PM Pavel Stehule > wrote: > > > > st 7. 8. 2024 v 10:52 odesílatel Alexander Korotkov < > aekorot...@gmail.com> napsal: > >> > >> Hi, Pavel! > >> > >> On Wed, Aug 7, 2024 at 9:35 AM Pavel Stehule > wrote:

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Alexander Korotkov
On Wed, Aug 7, 2024 at 1:03 PM Pavel Stehule wrote: > > st 7. 8. 2024 v 10:52 odesílatel Alexander Korotkov > napsal: >> >> Hi, Pavel! >> >> On Wed, Aug 7, 2024 at 9:35 AM Pavel Stehule wrote: >> > st 7. 8. 2024 v 6:08 odesílatel Alexander Korotkov >> > napsal: >> >> >> >> Introduce hash_sear

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Pavel Stehule
st 7. 8. 2024 v 10:52 odesílatel Alexander Korotkov napsal: > Hi, Pavel! > > On Wed, Aug 7, 2024 at 9:35 AM Pavel Stehule > wrote: > > st 7. 8. 2024 v 6:08 odesílatel Alexander Korotkov < > akorot...@postgresql.org> napsal: > >> > >> Introduce hash_search_with_hash_value() function > >> > >> Thi

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-07 Thread Alexander Korotkov
Hi, Pavel! On Wed, Aug 7, 2024 at 9:35 AM Pavel Stehule wrote: > st 7. 8. 2024 v 6:08 odesílatel Alexander Korotkov > napsal: >> >> Introduce hash_search_with_hash_value() function >> >> This new function iterates hash entries with given hash values. This >> function >> is designed to avoid f

Re: pgsql: Introduce hash_search_with_hash_value() function

2024-08-06 Thread Pavel Stehule
Hi st 7. 8. 2024 v 6:08 odesílatel Alexander Korotkov napsal: > Introduce hash_search_with_hash_value() function > > This new function iterates hash entries with given hash values. This > function > is designed to avoid full sequential hash search in the syscache > invalidation > callbacks. > >

pgsql: Introduce hash_search_with_hash_value() function

2024-08-06 Thread Alexander Korotkov
Introduce hash_search_with_hash_value() function This new function iterates hash entries with given hash values. This function is designed to avoid full sequential hash search in the syscache invalidation callbacks. Discussion: https://postgr.es/m/5812a6e5-68ae-4d84-9d85-b443176966a1%40sigaev.ru