Re: Triggers using PL/pgSQL
| От | George Weaver |
|---|---|
| Тема | Re: Triggers using PL/pgSQL |
| Дата | |
| Msg-id | 006601c6b4bc$b74f0ba0$6400a8c0@Dell4500 обсуждение исходный текст |
| Ответ на | Triggers using PL/pgSQL (Thusitha Kodikara <kthusi@yahoo.com>) |
| Список | pgsql-sql |
----- Original Message ----- From: Aaron Bono To: John DeSoi <snip> >I don't think so but there was some discussion a week or two ago about >mixing variables and using execute. I am curious, does anyone >know what >the "best" approach is? >Also, I did not address deletions. If you still need to delete from the >table, you will need to get rid of the foreign key on the history table. > >You will also need to decide how the history table will reflect the >recording of those deletions. You may want to refer to: http://www.varlena.com/GeneralBits/104.php (Logging Audit Changes with Composite Typed Columns). It provides a very concise way of tracking all changes, possible qualifying as a "best approach"? Regards, George
В списке pgsql-sql по дате отправления: