forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d77652
committed
Document changes in large-object privilege checking.
Commit5ecc0d7 removed the hard-wired superuser checks in lo_importand lo_export in favor of protecting them with SQL permissions, butfailed to adjust the documentation to match. Fix that, and add a<caution> paragraph pointing out the nontrivial security hazardsinvolved with actually granting such permissions. (It's still betterthan ALLOW_DANGEROUS_LO_FUNCTIONS, though.)Also, commitae20b23 caused large object read/write privilege tobe checked during lo_open() rather than in the actual read or writecalls. Document that.Discussion:https://postgr.es/m/CAB7nPqRHmNOYbETnc_2EjsuzSM00Z+BWKv9sy6tnvSd5gWT_JA@mail.gmail.com1 parenta61f5ab commit6d77652
2 files changed
+38
-7
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7540 | 7540 |
| |
7541 | 7541 |
| |
7542 | 7542 |
| |
7543 |
| - | |
7544 |
| - | |
7545 |
| - | |
7546 | 7543 |
| |
7547 | 7544 |
| |
7548 | 7545 |
| |
|
Lines changed: 38 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
295 | 307 |
| |
296 | 308 |
| |
297 | 309 |
| |
| |||
634 | 646 |
| |
635 | 647 |
| |
636 | 648 |
| |
637 |
| - | |
638 |
| - | |
639 |
| - | |
640 |
| - | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
641 | 655 |
| |
642 | 656 |
| |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
643 | 677 |
| |
644 | 678 |
| |
645 | 679 |
| |
|
0 commit comments
Comments
(0)