Re: [HACKERS] 64-bit queryId? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] 64-bit queryId?
Date
Msg-id CA+TgmoYP1QqS855HBx74WQaYboKqhPZYT6M_3rLysJpTUTsVkA@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] 64-bit queryId?  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] 64-bit queryId?
List pgsql-hackers
On Wed, Oct 4, 2017 at 10:11 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Oct 4, 2017 at 11:04 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Not really; dynahash won't merge two keys just because their hash
>> codes come out the same.  But you're right; that's probably not the
>> best way to do it.   TBH, why do we even have pgss_hash_fn?  It seems
>> like using tag_hash would be superior.
>
> Yes, using tag_hash would be just better than any custom formula.

OK, here's v4, which does it that way.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Nico Williams
Date:
Subject: Re: [HACKERS] Possible SSL improvements for a newcomer to tackle
Next
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] why subplan is 10x faster then function?