Correct SQLSTATE for ENOMEM in file access

Поиск
Список
Период
Сортировка
От Alexander Kuzmenkov
Тема Correct SQLSTATE for ENOMEM in file access
Дата
Msg-id CALzhyqzgQph0BY8-hFRRGdHhF8CoqmmDHW9S=hMZ-HMzLxRqDQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Correct SQLSTATE for ENOMEM in file access
Список pgsql-hackers
Looking through the logs of some server that were experiencing out of
memory errors, I noticed that errcode_for_file_access() reports
ERRCODE_INTERNAL_ERROR for ENOMEM, while the correct SQLSTATE for this
should probably be ERRCODE_OUT_OF_MEMORY. Attached is a small patch to
fix this.

---
Alexander Kuzmenkov
Timescale

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_language(langispl) column apparently not needed
Следующее
От: Alena Rybakina
Дата:
Сообщение: Re: POC, WIP: OR-clause support for indexes