forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb8f9afc
committed
Distinguish between AcquireExternalFD and epoll_create1 / kqueue failing
The error messages in CreateWaitEventSet() made it hard to know whether thesyscall or AcquireExternalFD() failed. This is particularly relevant becauseAcquireExternalFD() imposes a lower limit than what would cause syscalls failwith EMFILE.I did not change the message in libpqsrv_connect_prepare(), which is the oneother use of AcquireExternalFD() in our codebase, as the error message alreadyis less ambiguous.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/xjjx7r4xa7beixuu4qtkdhnwdbchrrpo3gaeb3jsbinvvdiat5@cwjw55mna5of1 parent4ee130c commitb8f9afc
1 file changed
+2
-8
lines changedLines changed: 2 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
811 | 811 |
| |
812 | 812 |
| |
813 | 813 |
| |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 |
| - | |
| 814 | + | |
818 | 815 |
| |
819 | 816 |
| |
820 | 817 |
| |
| |||
823 | 820 |
| |
824 | 821 |
| |
825 | 822 |
| |
826 |
| - | |
827 |
| - | |
828 |
| - | |
829 |
| - | |
| 823 | + | |
830 | 824 |
| |
831 | 825 |
| |
832 | 826 |
| |
|
0 commit comments
Comments
(0)