Triggers or code? - Mailing list pgsql-performance

From DM
Subject Triggers or code?
Date
Msg-id AANLkTingyH4s9ZUa9in0rtFsCOGXhu+dc++kmYt5yNaa@mail.gmail.com
Whole thread Raw
Responses Re: Triggers or code?
Re: Triggers or code?
List pgsql-performance
Hello There,

I have a table x and a history table x_hist, whats the best way to update the history table.

should i need to use triggers or embed a code in my script to update the history table?

what is the performance impact of a trigger versus embedding the code in the script?

thanks for your time.

- Deepak

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Inefficient query plan
Next
From: André Fernandes
Date:
Subject: Re: Triggers or code?