Commit 637109d
committed
Rename StartBackgroundWorker() to BackgroundWorkerMain().
The comment claimed that it is "called from postmaster", but it is
actually called in the child process, pretty early in the process
initialization. I guess you could interpret "called from postmaster"
to mean that, but it seems wrong to me. Rename the function to be
consistent with other functions with similar role.
Reviewed-by: Thomas Munro
Discussion: https://www.postgresql.org/message-id/4f95c1fc-ad3c-7974-3a8c-6faa3931804c@iki.fi1 parent 0bbafb5 commit 637109d
File tree
3 files changed
+6
-9
lines changed- src
- backend/postmaster
- include/postmaster
3 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
| 744 | + | |
748 | 745 | | |
749 | 746 | | |
750 | | - | |
| 747 | + | |
751 | 748 | | |
752 | 749 | | |
753 | 750 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4982 | 4982 | | |
4983 | 4983 | | |
4984 | 4984 | | |
4985 | | - | |
| 4985 | + | |
4986 | 4986 | | |
4987 | 4987 | | |
4988 | 4988 | | |
| |||
5721 | 5721 | | |
5722 | 5722 | | |
5723 | 5723 | | |
5724 | | - | |
| 5724 | + | |
5725 | 5725 | | |
5726 | 5726 | | |
5727 | 5727 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments