forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit51e8e18
committed
Massimo Dal Zotto <dz@cs.unitn.it>> socket-flock.patch>> use advisory locks to check if the unix socket can be deleted.> A running postmaster keeps a lock on that file. A starting> postmaster exits if the file exists and is locked, otherwise> it deletes the sockets and proceeds.> This avoid the need to remove manually the file after a postmaster> or system crash.> I don't know if flock is available on any system. If not we could> define a HAVE_FLOCK set by configure.
1 parent53d7d47 commit51e8e18
1 file changed
+35
-4
lines changedLines changed: 35 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
| |||
70 | 71 |
| |
71 | 72 |
| |
72 | 73 |
| |
| 74 | + | |
73 | 75 |
| |
74 | 76 |
| |
75 | 77 |
| |
| |||
522 | 524 |
| |
523 | 525 |
| |
524 | 526 |
| |
| 527 | + | |
525 | 528 |
| |
526 | 529 |
| |
527 | 530 |
| |
| |||
550 | 553 |
| |
551 | 554 |
| |
552 | 555 |
| |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
553 | 570 |
| |
554 | 571 |
| |
555 | 572 |
| |
| |||
564 | 581 |
| |
565 | 582 |
| |
566 | 583 |
| |
567 |
| - | |
| 584 | + | |
| 585 | + | |
568 | 586 |
| |
569 |
| - | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
570 | 590 |
| |
571 | 591 |
| |
572 | 592 |
| |
573 | 593 |
| |
574 | 594 |
| |
575 | 595 |
| |
576 |
| - | |
| 596 | + | |
577 | 597 |
| |
578 | 598 |
| |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
579 | 610 |
| |
580 | 611 |
| |
581 | 612 |
| |
|
0 commit comments
Comments
(0)