Re:
by const_cast on Thursday July 10, 2025 @09:27PM
(#44527554)
I think instead of performing an INSERT you call a stored proc that does the insert and some extra stuff.
[ Parent
| on HN ]
Re:
by shivasaxena on Friday July 11, 2025 @01:48PM
(#44535087)
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.