forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8356753
committed
Perform only one ReadControlFile() during startup.
Previously we read the control file in multiple places. But soon thesegment size will be configurable and stored in the control file, andthat needs to be available earlier than it currently is needed.Instead of adding yet another place where it's read, refactor thingsso there's a single processing of the control file during startup (inEXEC_BACKEND that's every individual backend's startup).Author: Andres FreundDiscussion:http://postgr.es/m/20170913092828.aozd3gvvmw67gmyc@alap3.anarazel.de1 parent0a48050 commit8356753
File tree
4 files changed
+44
-14
lines changed- src
- backend
- access/transam
- postmaster
- tcop
- include/access
4 files changed
+44
-14
lines changedLines changed: 34 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4799 | 4799 |
| |
4800 | 4800 |
| |
4801 | 4801 |
| |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
4802 | 4818 |
| |
4803 | 4819 |
| |
4804 | 4820 |
| |
| |||
4850 | 4866 |
| |
4851 | 4867 |
| |
4852 | 4868 |
| |
| 4869 | + | |
4853 | 4870 |
| |
4854 | 4871 |
| |
4855 | 4872 |
| |
| |||
4867 | 4884 |
| |
4868 | 4885 |
| |
4869 | 4886 |
| |
| 4887 | + | |
| 4888 | + | |
| 4889 | + | |
| 4890 | + | |
| 4891 | + | |
4870 | 4892 |
| |
4871 | 4893 |
| |
| 4894 | + | |
| 4895 | + | |
| 4896 | + | |
| 4897 | + | |
| 4898 | + | |
4872 | 4899 |
| |
4873 | 4900 |
| |
4874 | 4901 |
| |
| |||
4933 | 4960 |
| |
4934 | 4961 |
| |
4935 | 4962 |
| |
4936 |
| - | |
4937 |
| - | |
4938 |
| - | |
4939 |
| - | |
4940 |
| - | |
4941 |
| - | |
4942 |
| - | |
4943 |
| - | |
4944 | 4963 |
| |
4945 | 4964 |
| |
4946 | 4965 |
| |
| |||
5129 | 5148 |
| |
5130 | 5149 |
| |
5131 | 5150 |
| |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
| 5156 | + | |
5132 | 5157 |
| |
5133 | 5158 |
| |
5134 | 5159 |
| |
| |||
6227 | 6252 |
| |
6228 | 6253 |
| |
6229 | 6254 |
| |
6230 |
| - | |
6231 |
| - | |
6232 |
| - | |
6233 |
| - | |
| 6255 | + | |
6234 | 6256 |
| |
6235 |
| - | |
6236 |
| - | |
6237 | 6257 |
| |
6238 | 6258 |
| |
6239 | 6259 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
950 | 950 |
| |
951 | 951 |
| |
952 | 952 |
| |
| 953 | + | |
| 954 | + | |
| 955 | + | |
953 | 956 |
| |
954 | 957 |
| |
955 | 958 |
| |
| |||
4805 | 4808 |
| |
4806 | 4809 |
| |
4807 | 4810 |
| |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
4808 | 4814 |
| |
4809 | 4815 |
| |
4810 | 4816 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3717 | 3717 |
| |
3718 | 3718 |
| |
3719 | 3719 |
| |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
3720 | 3723 |
| |
3721 | 3724 |
| |
3722 | 3725 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
| 264 | + | |
264 | 265 |
| |
265 | 266 |
| |
266 | 267 |
| |
|
0 commit comments
Comments
(0)