Andres Freund <and...@anarazel.de> writes: > I think it's rather confusing to claim that epoll_create1() failed when we > didn't even call it. > Why are we misattributing the failure to a system call that we didn't make?
I think the idea was that this mechanism is equivalent to an EMFILE limit. But if you feel a need to make a distinction, this seems fine: > elog(ERROR, "AcquireExternalFD, for epoll_create1, failed: > %m"); You should probably check all of 3d475515a, because I think I applied the same idea in more than one place. regards, tom lane