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

From Michael Paquier
Subject Re: [HACKERS] 64-bit queryId?
Date
Msg-id CAB7nPqTcj=qxqX=-xOzgLdVofHy4TcRLsafbhwSgVvCFPDp5hQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] 64-bit queryId?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Sep 30, 2017 at 1:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> How about widening the value to uint64?
>
> Doesn't really seem like that would guarantee no collisions.

This moves the possibility of a 25% collision from 50k queries 3.3
billion. Not zero, but safe enough as a minimal change for many years
to come.
-- 
Michael


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

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: [HACKERS] Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags.Should it?
Next
From: Noah Misch
Date:
Subject: [HACKERS] Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags.Should it?