@@ -2457,7 +2457,7 @@ postgres=> table passwd;
2457
2457
postgres=> set role alice;
2458
2458
SET
2459
2459
postgres=> table passwd;
2460
- ERROR: permission denied forrelation passwd
2460
+ ERROR: permission denied fortable passwd
2461
2461
postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
2462
2462
user_name | real_name | home_phone | extra_info | home_dir | shell
2463
2463
-----------+-----------+--------------+------------+-------------+-----------
@@ -2467,7 +2467,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
2467
2467
(3 rows)
2468
2468
2469
2469
postgres=> update passwd set user_name = 'joe';
2470
- ERROR: permission denied forrelation passwd
2470
+ ERROR: permission denied fortable passwd
2471
2471
-- Alice is allowed to change her own real_name, but no others
2472
2472
postgres=> update passwd set real_name = 'Alice Doe';
2473
2473
UPDATE 1
@@ -2476,9 +2476,9 @@ UPDATE 0
2476
2476
postgres=> update passwd set shell = '/bin/xx';
2477
2477
ERROR: new row violates WITH CHECK OPTION for "passwd"
2478
2478
postgres=> delete from passwd;
2479
- ERROR: permission denied forrelation passwd
2479
+ ERROR: permission denied fortable passwd
2480
2480
postgres=> insert into passwd (user_name) values ('xxx');
2481
- ERROR: permission denied forrelation passwd
2481
+ ERROR: permission denied fortable passwd
2482
2482
-- Alice can change her own password; RLS silently prevents updating other rows
2483
2483
postgres=> update passwd set pwhash = 'abc';
2484
2484
UPDATE 1