Re: [HACKERS] 64-bit queryId?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] 64-bit queryId?
Дата
Msg-id CAB7nPqTcj=qxqX=-xOzgLdVofHy4TcRLsafbhwSgVvCFPDp5hQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] 64-bit queryId?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: [HACKERS] Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags.Should it?
Следующее
От: Noah Misch
Дата:
Сообщение: [HACKERS] Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags.Should it?