forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0a85c10
committed
Improve RLS documentation with respect to COPY
Documentation for pg_restore said COPY TO does not support row securitywhen in fact it should say COPY FROM. Fix that.While at it, make it clear that "COPY FROM" does not allow RLS to beenabled and INSERT should be used instead. Also that SELECT policieswill apply to COPY TO statements.Back-patch to 9.5 where RLS first appeared.Author: Joe ConwayReviewed-By: Dean Rasheed and Robert HaasDiscussion:https://postgr.es/m/5744FA24.3030008%40joeconway.com1 parent2ac3ef7 commit0a85c10
3 files changed
+15
-1
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
424 | 424 |
| |
425 | 425 |
| |
426 | 426 |
| |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
427 | 436 |
| |
428 | 437 |
| |
429 | 438 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
718 | 718 |
| |
719 | 719 |
| |
720 | 720 |
| |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
721 | 726 |
| |
722 | 727 |
| |
723 | 728 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
543 | 543 |
| |
544 | 544 |
| |
545 | 545 |
| |
546 |
| - | |
| 546 | + | |
547 | 547 |
| |
548 | 548 |
| |
549 | 549 |
| |
|
0 commit comments
Comments
(0)