You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Remove configure probe for sys/resource.h and refactor.
<sys/resource.h> is in SUSv2 and is on all targeted Unix systems. Wehave a replacement for getrusage() on Windows, so let's just move itsdeclarations into src/include/port/win32/sys/resource.h so that we canuse a standard-looking #include. Also remove an obsolete reference toCLK_TCK. Also rename src/port/getrusage.c to win32getrusage.c,following the convention for Windows-only fallback code.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com