Values of fields in Rules

Поиск
Список
Период
Сортировка
От mito
Тема Values of fields in Rules
Дата
Msg-id gtp8ts$h4l$1@news.hub.org
обсуждение исходный текст
Ответы Re: Values of fields in Rules
Список pgsql-hackers
Hi,

when i create rule(on insert) on view(select id, name from users), i 
will recieve values that were inserted in form of reference words 
new.id, new.name.

if i insert into users (id, name) values (null, null);
then new.id = null and new.name = null

if i insert into users (name) values (null);
then new.id = null and new.name = null

is there any way how to distinguish that id column wasnt explicitly named?



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