forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit767bc02
committed
Allow DSM segments to be created as pinned
dsm_create and dsm_attach assumed that a current resource owner wasalways in place. Exploration with the API show that this isinconvenient: sometimes one must create a dummy resowner, create/attachthe DSM, only to pin the mapping later, which is wasteful. Changecreate/attach so that if there is no current resowner, the dsm iseffectively pinned right from the start.Discussion:https://postgr.es/m/20170324232710.32acsfsvjqfgc6ud@alvherre.pgsqlReviewed by Thomas Munro.1 parent2c4debb commit767bc02
1 file changed
+16
-2
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
456 | 463 |
| |
457 | 464 |
| |
458 | 465 |
| |
| |||
544 | 551 |
| |
545 | 552 |
| |
546 | 553 |
| |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
547 | 559 |
| |
548 | 560 |
| |
549 | 561 |
| |
| |||
1095 | 1107 |
| |
1096 | 1108 |
| |
1097 | 1109 |
| |
1098 |
| - | |
| 1110 | + | |
| 1111 | + | |
1099 | 1112 |
| |
1100 | 1113 |
| |
1101 | 1114 |
| |
| |||
1107 | 1120 |
| |
1108 | 1121 |
| |
1109 | 1122 |
| |
1110 |
| - | |
| 1123 | + | |
| 1124 | + | |
1111 | 1125 |
| |
1112 | 1126 |
| |
1113 | 1127 |
| |
|
0 commit comments
Comments
(0)