[PATCH] Add error_on_null() to produce an error if the input is null

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема [PATCH] Add error_on_null() to produce an error if the input is null
Дата
Msg-id ece8c6d1-2ab1-45d5-ba12-8dec96fc8886@app.fastmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Add error_on_null() to produce an error if the input is null
Список pgsql-hackers
Dear fellow hackers,

This polymorphic function produces an error if the input value is null,
otherwise it returns the input value unchanged.

This need for this function originates from the discussion
"Assert single row returning SQL-standard functions" [1].

/Joel

[1] https://www.postgresql.org/message-id/flat/9233b657-696f-430f-9557-dc602a2b9e0e%40app.fastmail.com

Вложения

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