mirror of https://github.com/postgres/postgres
rather than actually opening the files. This eliminates some corner cases where the file indeed exists but open() fails for another reason, such as being out of file descriptors. The net reliability gain is probably tiny, since xlog.c is full of other file open calls that will elog(PANIC) if they fail for any reason; but this specific failure mode has been observed in the field, so we may as well fix it.WIN32_DEV
parent
7a196bab23
commit
80727ce14f
Loading…
Reference in new issue