mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 07:28:04 +00:00
Acquire the same row locks on postgres that MariaDB takes, via a separate plain SELECT <pk> ... FOR UPDATE before each grouped/aggregate read (FOR UPDATE is invalid with GROUP BY on postgres). Applied to all 6 aggregate lock sites. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 KiB
15 KiB