- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit479a8fd
committed
> Gavin Sherry <swm@linuxworld.com.au> writes:
> > I ran across this yesterday on HEAD:>> > template1=# grant select on foo, foo to swm;> > ERROR: tuple already updated by self>> Seems to fail similarly in every version back to 7.2; probably further,> but that's all I have running at the moment.>> > We could do away with the error by producing a unique list of object names> > -- but that would impose an extra cost on the common case.>> CommandCounterIncrement in the GRANT loop would be easier, likely.> I'm having a hard time getting excited about it though...Yeah, its not that exciting but that error message would throw youraverage user.I've attached a patch which calls CommandCounterIncrement() in each of thegrant loops.Gavin Sherry1 parentabc8a0a commit479a8fd
1 file changed
+19
-1
lines changedLines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
388 | 388 |
| |
389 | 389 |
| |
390 | 390 |
| |
| 391 | + | |
| 392 | + | |
| 393 | + | |
391 | 394 |
| |
392 | 395 |
| |
393 | 396 |
| |
| |||
565 | 568 |
| |
566 | 569 |
| |
567 | 570 |
| |
| 571 | + | |
| 572 | + | |
| 573 | + | |
568 | 574 |
| |
569 | 575 |
| |
570 | 576 |
| |
| |||
738 | 744 |
| |
739 | 745 |
| |
740 | 746 |
| |
| 747 | + | |
| 748 | + | |
| 749 | + | |
741 | 750 |
| |
742 | 751 |
| |
743 | 752 |
| |
| |||
920 | 929 |
| |
921 | 930 |
| |
922 | 931 |
| |
| 932 | + | |
| 933 | + | |
| 934 | + | |
923 | 935 |
| |
924 | 936 |
| |
925 | 937 |
| |
| |||
1093 | 1105 |
| |
1094 | 1106 |
| |
1095 | 1107 |
| |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
1096 | 1111 |
| |
1097 | 1112 |
| |
1098 | 1113 |
| |
| |||
1269 | 1284 |
| |
1270 | 1285 |
| |
1271 | 1286 |
| |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1272 | 1290 |
| |
1273 | 1291 |
| |
1274 | 1292 |
| |
|
0 commit comments
Comments
(0)