Re: Allow simplehash to use already-calculated hash values - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Allow simplehash to use already-calculated hash values
Date
Msg-id 8faac84f1bd51dcb3c1217919b5601cd15ba1bb8.camel@j-davis.com
Whole thread Raw
In response to Re: Allow simplehash to use already-calculated hash values  (Andres Freund <andres@anarazel.de>)
Responses Re: Allow simplehash to use already-calculated hash values  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, 2019-07-16 at 15:46 -0700, Andres Freund wrote:
> ISTM that it'd be best to just have a static inline helper function
> employed both the hash-passing and the "traditional" insertion
> routines?
> Then that problem ought to not exist anymore.

Agreed, attached.

Regards,
    Jeff Davis


Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: refactoring - share str2*int64 functions
Next
From: Tom Lane
Date:
Subject: Re: Change ereport level for QueuePartitionConstraintValidation