Re: SOMAXCONN (was Re: Solaris source code)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SOMAXCONN (was Re: Solaris source code)
Дата
Msg-id 11658.994801643@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I was thinking:

>     #if SOMAXCONN >= 1000
>     #define PG_SOMAXCONN SOMAXCONN
>     #else
>     #define PG_SOMAXCONN 1000
>     #endif

Not in config.h, you don't.  Unless you want <sys/socket.h> (or
whichever header defines SOMAXCONN; how consistent is that across
platforms, anyway?) to be included by everything in the system ...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SOMAXCONN (was Re: Solaris source code)
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: grant and SQL92