RLS - update COPY command to function with RLS.