Hello hackers, You don't need to call stat() just to find out if a dirent is a file or directory, most of the time. Please see attached.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных