Y
Hacker News
new
|
ask
|
show
|
jobs
by
const_cast
336 days ago
I think instead of performing an INSERT you call a stored proc that does the insert and some extra stuff.
1 comments
shivasaxena
336 days ago
Yes, we already have all of our business logic in postgres functions(create_order, create_partial_payment etc).
Doing the extra work in stored procedures is noticeably faster than relying on triggers.
link
Doing the extra work in stored procedures is noticeably faster than relying on triggers.