Thread: move hash_any from hash to utils
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
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.