model-writtenrun 3625 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Kuzmenkov reported that server logs exposed ENOMEM as ERRCODE_INTERNAL_ERROR and submitted a patch mapping it to ERRCODE_OUT_OF_MEMORY in errcode_for_file_access() #1.
- Tom Lane questioned whether the case was reachable because the functions using this error translator seemed unlikely to report ENOMEM #2.
- Alexander supplied an observed failure loading plpgsql.so through internal_load_library, confirming reachability while leaving the exact reproduction configuration uncertain #3.
- Tom accepted the observed evidence in the final thread message, resolving the objection without requesting changes to the patch #4.
- Tom subsequently committed the patch with only whitespace adjustment as e4e63cd986; 4493bfb709 is the same change backported to REL_12_STABLE, leaving no proposed patch work outstanding.