Translate ENOMEM to ERRCODE_OUT_OF_MEMORY in errcode_for_file_access(). Previously you got ERRCODE_INTERNAL_ERROR, which seems inappropriate, especially given that we're trying to avoid emitting that in reachable cases.
Alexander Kuzmenkov Discussion: https://postgr.es/m/CALzhyqzgQph0BY8-hFRRGdHhF8CoqmmDHW9S=hmz-hmzlxr...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e4e63cd9863480698ef97009f132c9854cce8407 Modified Files -------------- src/backend/utils/error/elog.c | 4 ++++ 1 file changed, 4 insertions(+)