| От | Tom Jenkins |
|---|---|
| Тема | Re: Update and Insert in a View Insert Rule |
| Дата | |
| Msg-id | 1022069646.26054.14.camel@asimov обсуждение исходный текст |
| Ответ на | Re: Update and Insert in a View Insert Rule (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
| Список | pgsql-general |
On Tue, 2002-05-21 at 18:19, Stephan Szabo wrote: > On 21 May 2002, Tom Jenkins wrote: > > > > unfortunately this gives me an error when I attempt to load the rule I > > get: > > ERROR: NEW used in non-rule query > > > > I don't understand why this wouldn't work. Unless it has something to > > do with NEW getting "lost" in the update call? should i move the update > > out to a function and calling it from the rule? > > I think you forgot to use the () around the multiple actions. > It should probably be: > DO INSTEAD ( > ... > ); > AAAARRRRRGGGGGGHHHHHHH!!! *sigh* up that was the problem. Funny how you can stare at something and not actually see it. Thanks -- Tom Jenkins Development InfoStructure http://www.devis.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера