Re: [PATCH] Add error message for out-of-memory in passwordFromFile()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Add error message for out-of-memory in passwordFromFile()
Дата
Msg-id aQngrpjsKOLZtAii@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] Add error message for out-of-memory in passwordFromFile()  (Joshua Shanks <jjshanks@gmail.com>)
Список pgsql-hackers
On Mon, Nov 03, 2025 at 09:15:25PM -0800, Joshua Shanks wrote:
> Thank you for the detailed feedback! This is my first C project
> contribution, so I really appreciate you taking the time to explain the
> proper error handling pattern.

No problem.  Applied on HEAD after a few tweaks:
* two libpq_gettext() added,
* *errmsg set to NULL when entering passwordFromFile().
* Some rewords.
--
Michael

Вложения

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