@@ -2569,7 +2569,7 @@ postgres=> table passwd;
25692569postgres=> set role alice;
25702570SET
25712571postgres=> table passwd;
2572- ERROR: permission denied forrelation passwd
2572+ ERROR: permission denied fortable passwd
25732573postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
25742574 user_name | real_name | home_phone | extra_info | home_dir | shell
25752575-----------+-----------+--------------+------------+-------------+-----------
@@ -2579,7 +2579,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
25792579(3 rows)
25802580
25812581postgres=> update passwd set user_name = 'joe';
2582- ERROR: permission denied forrelation passwd
2582+ ERROR: permission denied fortable passwd
25832583-- Alice is allowed to change her own real_name, but no others
25842584postgres=> update passwd set real_name = 'Alice Doe';
25852585UPDATE 1
@@ -2588,9 +2588,9 @@ UPDATE 0
25882588postgres=> update passwd set shell = '/bin/xx';
25892589ERROR: new row violates WITH CHECK OPTION for "passwd"
25902590postgres=> delete from passwd;
2591- ERROR: permission denied forrelation passwd
2591+ ERROR: permission denied fortable passwd
25922592postgres=> insert into passwd (user_name) values ('xxx');
2593- ERROR: permission denied forrelation passwd
2593+ ERROR: permission denied fortable passwd
25942594-- Alice can change her own password; RLS silently prevents updating other rows
25952595postgres=> update passwd set pwhash = 'abc';
25962596UPDATE 1