@@ -2457,7 +2457,7 @@ postgres=> table passwd;
24572457postgres=> set role alice;
24582458SET
24592459postgres=> table passwd;
2460- ERROR: permission denied forrelation passwd
2460+ ERROR: permission denied fortable passwd
24612461postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
24622462 user_name | real_name | home_phone | extra_info | home_dir | shell
24632463-----------+-----------+--------------+------------+-------------+-----------
@@ -2467,7 +2467,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
24672467(3 rows)
24682468
24692469postgres=> update passwd set user_name = 'joe';
2470- ERROR: permission denied forrelation passwd
2470+ ERROR: permission denied fortable passwd
24712471-- Alice is allowed to change her own real_name, but no others
24722472postgres=> update passwd set real_name = 'Alice Doe';
24732473UPDATE 1
@@ -2476,9 +2476,9 @@ UPDATE 0
24762476postgres=> update passwd set shell = '/bin/xx';
24772477ERROR: new row violates WITH CHECK OPTION for "passwd"
24782478postgres=> delete from passwd;
2479- ERROR: permission denied forrelation passwd
2479+ ERROR: permission denied fortable passwd
24802480postgres=> insert into passwd (user_name) values ('xxx');
2481- ERROR: permission denied forrelation passwd
2481+ ERROR: permission denied fortable passwd
24822482-- Alice can change her own password; RLS silently prevents updating other rows
24832483postgres=> update passwd set pwhash = 'abc';
24842484UPDATE 1