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