Re: jsonapi: scary new warnings with LTO enabled

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: jsonapi: scary new warnings with LTO enabled
Дата
Msg-id 0C92C876-09A3-483C-82C5-E26F0C1B34B5@yesql.se
обсуждение исходный текст
Ответ на Re: jsonapi: scary new warnings with LTO enabled  (Jacob Champion <jacob.champion@enterprisedb.com>)
Ответы Re: jsonapi: scary new warnings with LTO enabled
Список pgsql-hackers
> On 21 Apr 2025, at 20:58, Jacob Champion <jacob.champion@enterprisedb.com> wrote:

> Personally, I'm fine with can't-fail APIs, as long as they're
> documented as such. (I think the deferred error API was probably
> chosen so that src/common JSON clients could be written without a lot
> of pain?)

My preference is that no operation can silently work on a failed object, but
it's not a hill (even more so given where we are in the cycle).  The attached
v3 allocates via the JSON api, no specific error handling should be required as
it's already handled today.

--
Daniel Gustafsson


Вложения

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