Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Add kqueue(2) support to the WaitEventSet API. |
| Дата | |
| Msg-id | 15886.1582572468@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: pgsql: Add kqueue(2) support to the WaitEventSet API. (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Feb-24, Tom Lane wrote:
>> We could also consider a HINT, along the lines of "Raise the server's
>> max_files_per_process and/or \"ulimit -n\" limits." This again has
>> the ambiguity about which server, and it also seems dangerously
>> platform-specific.
> Maybe talk about "the local server" to distinguish from the other one.
OK by me.
> As for the platform dependencies, I see two main options: make the hint
> platform-specific (i.e have #ifdef branches per platform) or make it
> even more generic, such as "file descriptor limits".
I thought about platform-specific messages, but it's not clear to me
whether our translation infrastructure will find messages that are
inside #ifdefs ... anyone know? If that does work, I'd be inclined
to mention ulimit -n on non-Windows and just say nothing about that
on Windows. "File descriptor limits" seems too unhelpful here.
regards, tom lane
В списке pgsql-hackers по дате отправления: