Re: SOMAXCONN (was Re: Solaris source code)

Поиск
Список
Период
Сортировка
Искать

Re: SOMAXCONN (was Re: Solaris source code)

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian  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  (or
whichever header defines SOMAXCONN; how consistent is that across
platforms, anyway?) to be included by everything in the system ...
		regards, tom lane

FAQ