Hi jian, I tested the v2 patch for COPY FROM with RLS. Before applying the patch, I was able to reproduce the issue where \copy bypassed the RLS INSERT policy and allowed invalid rows to be inserted. After applying the patch and retesting, rows violating the policy were correctly rejected during \copy, while valid rows were inserted successfully. The behavior is now consistent with normal INSERT. The error context reporting during COPY was also clear and helpful while testing.
Regards, Solai
