@@ -2442,7 +2442,7 @@ postgres=> table passwd;
2442
2442
postgres=> set role alice;
2443
2443
SET
2444
2444
postgres=> table passwd;
2445
- ERROR: permission denied forrelation passwd
2445
+ ERROR: permission denied fortable passwd
2446
2446
postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell from passwd;
2447
2447
user_name | real_name | home_phone | extra_info | home_dir | shell
2448
2448
-----------+-----------+--------------+------------+-------------+-----------
@@ -2452,7 +2452,7 @@ postgres=> select user_name,real_name,home_phone,extra_info,home_dir,shell fr
2452
2452
(3 rows)
2453
2453
2454
2454
postgres=> update passwd set user_name = 'joe';
2455
- ERROR: permission denied forrelation passwd
2455
+ ERROR: permission denied fortable passwd
2456
2456
-- Alice is allowed to change her own real_name, but no others
2457
2457
postgres=> update passwd set real_name = 'Alice Doe';
2458
2458
UPDATE 1
@@ -2461,9 +2461,9 @@ UPDATE 0
2461
2461
postgres=> update passwd set shell = '/bin/xx';
2462
2462
ERROR: new row violates WITH CHECK OPTION for "passwd"
2463
2463
postgres=> delete from passwd;
2464
- ERROR: permission denied forrelation passwd
2464
+ ERROR: permission denied fortable passwd
2465
2465
postgres=> insert into passwd (user_name) values ('xxx');
2466
- ERROR: permission denied forrelation passwd
2466
+ ERROR: permission denied fortable passwd
2467
2467
-- Alice can change her own password; RLS silently prevents updating other rows
2468
2468
postgres=> update passwd set pwhash = 'abc';
2469
2469
UPDATE 1