move hash_any from hash to utils

Started by Zdenek Kotalaover 17 years ago2 messages
#1Zdenek Kotala
Zdenek.Kotala@Sun.COM

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

#2Alvaro Herrera
alvherre@commandprompt.com
In reply to: Zdenek Kotala (#1)
Re: move hash_any from hash to utils

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.