Re: Document hashtext() and Friends?

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: Document hashtext() and Friends?
Дата
Msg-id 84559A3A-318B-48C6-8246-4F15E19B239E@seespotcode.net
обсуждение исходный текст
Ответ на Re: Document hashtext() and Friends?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Document hashtext() and Friends?  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On Feb 21, 2012, at 15:01, Tom Lane wrote:

> "David E. Wheeler" <david@justatheory.com> writes:
>> Is there a reason that hashtext() and friends are not documented?
>
> Yes.  They are internal functions that exist for the convenience of the
> system, not for users.  We've discussed this before, and decided that
> we don't want people to rely on them continuing to have exactly the
> current behavior.  One example of a possible future change is to widen
> the results from 4 bytes to 8.

And hashtext *has* changed across versions, which is why Peter Eisentraut published a version-independent hash function
library:https://github.com/petere/pgvihash 

Michael Glaesemann
grzm seespotcode net





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Document hashtext() and Friends?
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Document hashtext() and Friends?