You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
155110: sql: implement row_security session variable r=spilchen a=spilchen
Complete the implementation of the `row_security` session variable, which was previously defined but non-functional.
When set to `'off'`, non-admin queries that would be affected by row-level security (RLS) fail with an error instead of silently filtering rows. This matches postgres' behavior.
Admin users and table owners (without FORCE) remain exempt from RLS regardless of this setting.
The variable defaults to `'on'` and is tracked in the memo to invalidate cached plans when changed.
Closes#138916.
Epic: none
Release note (sql change): The `row_security` session variable now behaves like in postgres, allowing users to detect when RLS is applied.
155132: roachtest/sqlsmith: only skip tpch and tpcc setups r=yuzefovich a=yuzefovich
In 1d29ae8 by mistake we skipped all sqlsmith setups even though only tpch and tpcc ones are affected.
Informs: #153489.
Release note: None
Co-authored-by: Matt Spilchen <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
0 commit comments