| От | David G Johnston |
|---|---|
| Тема | Re: How to insert into 2 tables from a view? |
| Дата | |
| Msg-id | 1419366138642-5831897.post@n5.nabble.com обсуждение |
| Ответ на | Re: How to insert into 2 tables from a view? (Chris Hoover <revoohc@gmail.com>) |
| Ответы |
Re: How to insert into 2 tables from a view?
|
| Список | pgsql-general |
Chris Hoover-2 wrote > Sorry, in my haste to get the example out, a couple of typo's where in the > sql. Next time, don't quote the entire original wrong query... Anyway, you probably want to create a trigger on your view and do the inserts inside the trigger function. User created CREATE RULE is not usually the correct answer to a problem. David J. -- View this message in context: http://postgresql.nabble.com/How-to-insert-into-2-tables-from-a-view-tp5831876p5831897.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера