@@ -2569,7 +2569,7 @@ postgres=> table passwd;
2569
2569
postgres=> set role alice;
2570
2570
SET
2571
2571
postgres=> table passwd;
2572
- ERROR: permission denied forrelation passwd
2572
+ ERROR: permission denied fortable passwd
2573
2573
postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
2574
2574
user_name | real_name | home_phone | extra_info | home_dir | shell
2575
2575
-----------+-----------+--------------+------------+-------------+-----------
@@ -2579,7 +2579,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
2579
2579
(3 rows)
2580
2580
2581
2581
postgres=> update passwd set user_name = 'joe';
2582
- ERROR: permission denied forrelation passwd
2582
+ ERROR: permission denied fortable passwd
2583
2583
-- Alice is allowed to change her own real_name, but no others
2584
2584
postgres=> update passwd set real_name = 'Alice Doe';
2585
2585
UPDATE 1
@@ -2588,9 +2588,9 @@ UPDATE 0
2588
2588
postgres=> update passwd set shell = '/bin/xx';
2589
2589
ERROR: new row violates WITH CHECK OPTION for "passwd"
2590
2590
postgres=> delete from passwd;
2591
- ERROR: permission denied forrelation passwd
2591
+ ERROR: permission denied fortable passwd
2592
2592
postgres=> insert into passwd (user_name) values ('xxx');
2593
- ERROR: permission denied forrelation passwd
2593
+ ERROR: permission denied fortable passwd
2594
2594
-- Alice can change her own password; RLS silently prevents updating other rows
2595
2595
postgres=> update passwd set pwhash = 'abc';
2596
2596
UPDATE 1