| От | David Johnston |
|---|---|
| Тема | Re: Trouble with NEW |
| Дата | |
| Msg-id | 00b001cd65dc$0a891960$1f9b4c20$@yahoo.com обсуждение |
| Ответ на | Re: Trouble with NEW (Adrian Klaver <adrian.klaver@gmail.com>) |
| Ответы |
Re: Trouble with NEW
|
| Список | pgsql-general |
> > 4) If you want to pull information from another table, you either need to set > up a FOREIGN KEY relationship that you can leverage or you need to do a > query in the trigger function that pulls in the necessary information. > I do not get where the "OR" comes from. There is nothing magical about FOREIGN KEY that causes NEW magically contain additionalvalues. Foreign Key or not you still have to "...do a query in the trigger function...". David J.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера