| От | Jerry Sievers |
|---|---|
| Тема | Re: Access to NEW.column outside of a trigger function. |
| Дата | |
| Msg-id | 871v1noxnj.fsf@comcast.net обсуждение исходный текст |
| Ответ на | Access to NEW.column outside of a trigger function. ("Gauthier, Dave" <dave.gauthier@intel.com>) |
| Ответы |
Re: Access to NEW.column outside of a trigger function.
|
| Список | pgsql-general |
"Gauthier, Dave" <dave.gauthier@intel.com> writes: > I have a check constraint that runs a PlPgsql function which returns a > pass/ fail status which the constraint uses to allow or disallow the > value. This is not a trigger function. It's just a plain-ole > PlPgsql. Is there a way I can read (not write, just read) the > NEW.column values that a trigger function would normally have access > to? Sure. Just pass them into your validator func as parameters. But why are you avoiding use of a trigger here? > Thanks in Advance for any help. > -- Jerry Sievers Postgres DBA/Development Consulting e: gsievers19@comcast.net p: 305.321.1144
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера