bugs.gh_6935_test. SQL SECURITY DEFINER has inconsistent behaviour if the object owner is non-privileged