forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite64d3c5
committed
Minimize calls of pg_class_aclcheck to minimum necessary
In a couple of code paths, pg_class_aclcheck is called in successionwith multiple different modes set. This patch combines those modes tohave a single call of this function and reduce a bit process overheadfor permission checking.Author: Michael Paquier <michael@otacoo.com>Reviewed-by: Fabrízio de Royes Mello <fabriziomello@gmail.com>1 parenta5f7d58 commite64d3c5
1 file changed
+6
-6
lines changedLines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
546 | 546 |
| |
547 | 547 |
| |
548 | 548 |
| |
549 |
| - | |
550 |
| - | |
| 549 | + | |
| 550 | + | |
551 | 551 |
| |
552 | 552 |
| |
553 | 553 |
| |
| |||
759 | 759 |
| |
760 | 760 |
| |
761 | 761 |
| |
762 |
| - | |
763 |
| - | |
| 762 | + | |
| 763 | + | |
764 | 764 |
| |
765 | 765 |
| |
766 | 766 |
| |
| |||
801 | 801 |
| |
802 | 802 |
| |
803 | 803 |
| |
804 |
| - | |
805 |
| - | |
| 804 | + | |
| 805 | + | |
806 | 806 |
| |
807 | 807 |
| |
808 | 808 |
| |
|
0 commit comments
Comments
(0)