Hi,
I can reproduce the same issue using the script you provided.
I think a good way to fix would be to use `(tableoid, ctid)` together as the row
identifier in row-by-row updates/deletes. This combination is unique
across partitions and avoids the incorrect behavior, while still keeping
LIMIT support.
Best regards,
--
JiaoShuntian
HighGo Software Co., Ltd.