Previously set_default_effective_cache_size() could not handle fork,
non-fork, and bootstrap cases.
proc_exit(1);
}
+ set_default_effective_cache_size();
+
/*
* Identify myself via ps
*/
ExitPostmaster(1);
}
+ set_default_effective_cache_size();
+
/*
* Locate the proper configuration files and data directory, and read
* postgresql.conf for the first time.
memset(&port, 0, sizeof(Port));
read_backend_variables(argv[2], &port);
- set_default_effective_cache_size();
-
/*
* Set reference point for stack-depth checking
*/