Arturs Zoldners <az(at)rpiva(dot)lv> writes:
> I found another bug, which sounds very like the first one:
Hm, looks like no one ever experimented with permissions checking for
subqueries in a rule WHERE clause before. Fixed - thanks for the report!
regards, tom lane