Обсуждение: move hash_any from hash to utils

Поиск
Список
Период
Сортировка

move hash_any from hash to utils

От
Zdenek Kotala
Дата:
I'm trying to cleanup header dependences and it seems hash_any and  hash_uint32 
function is candidate to move into separate c file in backend/utils/misc 
directory. It significantly reduce amount of unnecessary includes from files 
like  network.c ( http://doxygen.postgresql.org/network_8c.html)
Any comments?

    Zdenek


Re: move hash_any from hash to utils

От
Alvaro Herrera
Дата:
Zdenek Kotala wrote:
> I'm trying to cleanup header dependences and it seems hash_any and  
> hash_uint32 function is candidate to move into separate c file in 
> backend/utils/misc directory. It significantly reduce amount of 
> unnecessary includes from files like  network.c ( 
> http://doxygen.postgresql.org/network_8c.html)
>
>     Any comments?

I considered that too, so +1.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.