| От | Vams |
|---|---|
| Тема | Re: plpgsql - Inserting DEFAULT Value. |
| Дата | |
| Msg-id | 200406211232.57297.vmudrageda@charter.net обсуждение |
| Ответ на | Re: plpgsql - Inserting DEFAULT Value. (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Sunday 20 June 2004 03:37 pm, Tom Lane wrote: > Consider passing the appropriate sequence name to the function as a > trigger parameter. That was going to be a last resort. So there is no way to access the DEFAULT value that a column would get if no value or a DEFAULT was sent in an insert? How about removing a column value so that the default action would be performed. Like someone would "INSERT ... VALUES (1234, ...);" and I would remove the 1234 or something similar so that the INSERT would activate the default constraint for the column? Thx, Vams PS. I tried to post much sooner (like a week ago), but for some reason I was unable to. I emailed the admins and whoever dropped the restriction, thank you very much.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера