Remove IS_AF_UNIX macro?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Remove IS_AF_UNIX macro?
Дата
Msg-id f2d26815-9832-e333-d52d-72fbc0ade896@enterprisedb.com
обсуждение исходный текст
Список pgsql-hackers
I noticed that in pgstatfuncs.c, the AF_UNIX macro is being used 
unprotected by HAVE_UNIX_SOCKETS, apparently since 2008.  So I think the 
redirection through IS_AF_UNIX() is no longer necessary.  (More 
generally, all supported platforms are now HAVE_UNIX_SOCKETS, but even 
if there were a new platform in the future, it seems plausible that it 
would define the AF_UNIX symbol even without kernel support.)  So maybe 
we should remove the IS_AF_UNIX() macro and make the code a bit more 
consistent?
Вложения

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: decoupling table and index vacuum
Следующее
От: Peter Smith
Дата:
Сообщение: Re: row filtering for logical replication