Re: [HACKERS] Hash Functions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] Hash Functions
Дата
Msg-id CA+TgmoaiQgEGBc59UG0za8uUtgz0PQzwBeGzK2YHo2+WV3-aig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Hash Functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Hash Functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Aug 31, 2017 at 10:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> I think this takes care of adding not only the infrastructure but
>> support for all the core data types, but I'm not quite sure how to
>> handle upgrading types in contrib.  It looks like citext, hstore, and
>> several data types provided by isn have hash opclasses, and I think
>> that there's no syntax for adding a support function to an existing
>> opclass.  We could add that, but I'm not sure how safe it would be.
>
> ALTER OPERATOR FAMILY ADD FUNCTION ... ?
>
> That would result in the functions being considered "loose" in the
> family rather than bound into an operator class.  I think that's
> actually the right thing, because they shouldn't be considered
> to be required.

But wouldn't that result in a different effect than the core data type
changes I just did?

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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Hash Functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Hash Functions