| От | mito |
|---|---|
| Тема | Re: Values of fields in Rules |
| Дата | |
| Msg-id | gtq349$2gil$1@news.hub.org обсуждение исходный текст |
| Ответ на | Values of fields in Rules (mito <milos.orszag@gmail.com>) |
| Ответы |
Re: Values of fields in Rules
|
| Список | pgsql-hackers |
mito wrote: > 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? > is there any way how to determinate in rule that null comes from explicit insert or from not naming column in insert statment
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера