@@ -2613,7 +2613,7 @@ postgres=> table passwd;
2613
2613
postgres=> set role alice;
2614
2614
SET
2615
2615
postgres=> table passwd;
2616
- ERROR: permission denied forrelation passwd
2616
+ ERROR: permission denied fortable passwd
2617
2617
postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
2618
2618
user_name | real_name | home_phone | extra_info | home_dir | shell
2619
2619
-----------+-----------+--------------+------------+-------------+-----------
@@ -2623,7 +2623,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
2623
2623
(3 rows)
2624
2624
2625
2625
postgres=> update passwd set user_name = 'joe';
2626
- ERROR: permission denied forrelation passwd
2626
+ ERROR: permission denied fortable passwd
2627
2627
-- Alice is allowed to change her own real_name, but no others
2628
2628
postgres=> update passwd set real_name = 'Alice Doe';
2629
2629
UPDATE 1
@@ -2632,9 +2632,9 @@ UPDATE 0
2632
2632
postgres=> update passwd set shell = '/bin/xx';
2633
2633
ERROR: new row violates WITH CHECK OPTION for "passwd"
2634
2634
postgres=> delete from passwd;
2635
- ERROR: permission denied forrelation passwd
2635
+ ERROR: permission denied fortable passwd
2636
2636
postgres=> insert into passwd (user_name) values ('xxx');
2637
- ERROR: permission denied forrelation passwd
2637
+ ERROR: permission denied fortable passwd
2638
2638
-- Alice can change her own password; RLS silently prevents updating other rows
2639
2639
postgres=> update passwd set pwhash = 'abc';
2640
2640
UPDATE 1