Re: Tables are not being updated properly through Trigger
В списке pgsql-novice по дате отправления:
| От | Oliver Elphick |
|---|---|
| Тема | Re: Tables are not being updated properly through Trigger |
| Дата | |
| Msg-id | 1124436626.12407.23.camel@localhost.localdomain обсуждение исходный текст |
| Ответ на | Tables are not being updated properly through Trigger ("Venkatesh Krishnamurthy" <venkatesh.krishnamurthy@valtech.co.in>) |
| Список | pgsql-novice |
On Mon, 2005-08-15 at 18:32 +0530, Venkatesh Krishnamurthy wrote: > We have written a trigger on insertion which is supposed to update 3 > tables with new data. We are seeing a weird thing happening with > Postgres, i.e. If we have 4 records to be updated on insertion > trigger, postgres updates the first 3 records in the 3 tables > properly, and when it comes to final record, it is updating only the > first 2 tables in sequence and is skipping the 3rd table. So, we are > ending up with the improper data. Any body has come across such an > issue earlier or can anybody tell us whats happening here ? You need to show the trigger definitions and the definition of the function(s) that those triggers run. You should also state what version of PostgreSQL you are using. Oliver
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера