diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-29 21:36:09 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-29 21:36:09 +0000 |
commit | eee5abce46fec45ad40fef75b8d81e8f3ac7dda2 (patch) | |
tree | 20ccf400cbac12e6c10b2d99ead2b9f0b1a88951 /src/backend/access/gist/gistget.c | |
parent | e14018dc5e76b28a11fa57c067561a68ee46a764 (diff) | |
download | postgresql-eee5abce46fec45ad40fef75b8d81e8f3ac7dda2.tar.gz postgresql-eee5abce46fec45ad40fef75b8d81e8f3ac7dda2.zip |
Refactor EXEC_BACKEND code so that postmaster child processes reattach
to shared memory as soon as possible, ie, right after read_backend_variables.
The effective difference from the original code is that this happens
before instead of after read_nondefault_variables(), which loads GUC
information and is apparently capable of expanding the backend's memory
allocation more than you'd think it should. This should fix the
failure-to-attach-to-shared-memory reports we've been seeing on Windows.
Also clean up a few bits of unnecessarily grotty EXEC_BACKEND code.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions