move hash_any to utils/hash/hashfn.c

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема move hash_any to utils/hash/hashfn.c
Дата
Msg-id 201901251935.ser5e4h6djt2@alvherre.pgsql
обсуждение исходный текст
Ответы Re: move hash_any to utils/hash/hashfn.c
Re: move hash_any to utils/hash/hashfn.c
Список pgsql-hackers
I just noticed (once again) that we have hash_any() declared in
src/access/hash.h (the header file for the hash index AM) rather than
somewhere in utils/, for no good reason other than perhaps there was no
better place when it was introduced.  This means that some files that
seem to just need hash_any end up pointlessly #including the whole AM
world upon themselves.

Would anybody object too hard if I move hash_any() and friends to
src/backend/utils/hash/hashfn.c and the declarations to
src/include/utils/hashutils.h?


-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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