Re: PLPGSQL - extra column existence in trigger

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: PLPGSQL - extra column existence in trigger
Дата
Msg-id CAKFQuwbEbnpexHDEz+PE7C+gDp1S6_Kkq+YVKO_0Qa09tx=RdA@mail.gmail.com
обсуждение исходный текст
Ответ на PLPGSQL - extra column existence in trigger  (Durumdara <durumdara@gmail.com>)
Ответы Re: PLPGSQL - extra column existence in trigger
Re: PLPGSQL - extra column existence in trigger
Список pgsql-general
On Saturday, May 7, 2022, Durumdara <durumdara@gmail.com> wrote:


So is there any syntax to not fall on missing columns?

No.  I’d probably approach this by generically converting the NEW record to json and working with that.  Non-existent object keys return null when accessed.

David J. 

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