Capture old tables before RLS rule update or delete for invalidation
@icybawss▲ 0 net votes
When an RLS rule is updated, the tables it previously covered must be invalidated along with the new ones, so capture the old table set before the DAO update and union it with the post-update set. On delete, collect affected tables before the row is removed. Reading them after the change misses the old datasets and leaves their charts stale.