Re: Triggers or code?
| От | Bob Lunney |
|---|---|
| Тема | Re: Triggers or code? |
| Дата | |
| Msg-id | 9650.2310.qm@web39702.mail.mud.yahoo.com обсуждение исходный текст |
| Ответ на | Triggers or code? (DM <dm.aeqa@gmail.com>) |
| Список | pgsql-performance |
| That depends on your application's requirements. If a transaction on table X fails, do you still want the history (noting the failure)? If so, go with embedding the code in your script. If you only want history for successful transactions, a trigger will take care of that for you automatically. Bob Lunney --- On Mon, 8/23/10, DM <dm.aeqa@gmail.com> wrote:
|
В списке pgsql-performance по дате отправления: