Magnus Hagander <[EMAIL PROTECTED]> writes: > AFAICS, we're not doing this for any other functions though - or am I > too tired and just looking in the wrong place? Or is that because > they're just function definitions and not #defines? > (I want to be sure to stick whatever new file there is in the same place..)
src/include/rusagestub.h is doing things more or less this way. Also, right now we have got src/include/getaddrinfo.h src/include/getopt_long.h which really make me itch now that I am contemplating the possibility that we try to use libc-supplied code for these functions along with our own header definitions. I think the reason we've avoided putting such stuff into include/port/ is that right now that directory consists exclusively of OS-specific files. Maybe we need another include subdirectory? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers