forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc6a579d
Refactor lock manager initialization to make it a bit less special
Split the shared and local initialization to separate functions, andfollow the common naming conventions. With this, we no longer createthe LockMethodLocalHash hash table in the postmaster process, whichwas always pointless.Reviewed-by: Andreas KarlssonDiscussion:https://www.postgresql.org/message-id/c09694ff-2453-47e5-b26c-32a16cd75ce6@iki.fi1 parent5f78d6a commitc6a579d
File tree
4 files changed
+25
-22
lines changed- src
- backend
- storage
- ipc
- lmgr
- utils/init
- include/storage
4 files changed
+25
-22
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| |||
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
294 |
| - | |
| 294 | + | |
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
|
Lines changed: 17 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
390 | 388 |
| |
391 | 389 |
| |
392 |
| - | |
| 390 | + | |
393 | 391 |
| |
394 | 392 |
| |
395 | 393 |
| |
| |||
444 | 442 |
| |
445 | 443 |
| |
446 | 444 |
| |
| 445 | + | |
447 | 446 |
| |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
448 | 453 |
| |
449 | 454 |
| |
450 | 455 |
| |
451 |
| - | |
452 |
| - | |
453 |
| - | |
454 |
| - | |
455 |
| - | |
456 | 456 |
| |
457 |
| - | |
458 |
| - | |
| 457 | + | |
459 | 458 |
| |
460 | 459 |
| |
461 | 460 |
| |
| |||
3571 | 3570 |
| |
3572 | 3571 |
| |
3573 | 3572 |
| |
3574 |
| - | |
| 3573 | + | |
3575 | 3574 |
| |
3576 | 3575 |
| |
3577 | 3576 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
606 | 606 |
| |
607 | 607 |
| |
608 | 608 |
| |
| 609 | + | |
| 610 | + | |
| 611 | + | |
609 | 612 |
| |
610 | 613 |
| |
611 | 614 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
544 | 544 |
| |
545 | 545 |
| |
546 | 546 |
| |
547 |
| - | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
548 | 550 |
| |
549 | 551 |
| |
550 | 552 |
| |
| |||
584 | 586 |
| |
585 | 587 |
| |
586 | 588 |
| |
587 |
| - | |
588 | 589 |
| |
589 | 590 |
| |
590 | 591 |
| |
|
0 commit comments
Comments
(0)