Re:Multi-Region Row Level Security in CockroachDB
by DSingularity on Wednesday July 09, 2025 @09:35PM
(#44516382)
The first example demonstrating row level security contains results from the wrong tenant.
[ Parent
| on HN ]
Re:Multi-Region Row Level Security in CockroachDB
by rusticwizard on Wednesday July 09, 2025 @11:39PM
(#44516953)
Ah nice catch! This is an unfortunate copy paste error on the content on our part and we will fix it first thing tomorrow.
Re:Multi-Region Row Level Security in CockroachDB
by sebmellen on Wednesday July 09, 2025 @10:21PM
(#44516602)
Is that true? I can’t quite follow it on mobile.
Re:Multi-Region Row Level Security in CockroachDB
by rsclarke on Wednesday July 09, 2025 @11:18PM
(#44516857)
Yes, the example shows setting the current tenant id to all ones and then performing a select revealing a tenant id of all twos.
The same result is displayed in another example when correctly using a tenant id of all twos. A mistake perhaps of wrong output with the wording in the article is all.