diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-12-21 04:30:10 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-12-21 04:30:10 +0000 |
commit | ced30eb8575d4e129f4c12a1317d3a615a1fa66a (patch) | |
tree | 5d9a778cacebd9f51417db942b324dbb92dada4b | |
parent | 2a0caefeb580debbfe87f15b2de708447cac85e9 (diff) | |
download | postgresql-ced30eb8575d4e129f4c12a1317d3a615a1fa66a.tar.gz postgresql-ced30eb8575d4e129f4c12a1317d3a615a1fa66a.zip |
[ This description should have been on the earlier fork/exec
commit, but I am adding it now so it is in CVS.]
The patch basically is a slight rearrangement of the code to allow
fork/exec on Unix, with the ultimate goal of doing CreateProcess on
Win32. The changes are:
o Write out postmaster global variables and per-backend
variables to be read by the exec'ed backend
o Mark some static variables as global when exec is used so
then can be dumped from postmaster.c, marked NON_EXEC_STATIC
o Remove value passing with -p now that we have per-backend
file
o Move some pointer storage out of shared memory for easier
dumping.
o Modified pgsql_temp directory cleanup to handle per-database
directories and the backend exec directory under datadir.
Claudio Natoli
-rw-r--r-- | src/backend/storage/ipc/shmem.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/storage/ipc/shmem.c b/src/backend/storage/ipc/shmem.c index 598597f0aa0..e59b61c014f 100644 --- a/src/backend/storage/ipc/shmem.c +++ b/src/backend/storage/ipc/shmem.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/ipc/shmem.c,v 1.75 2003/12/20 17:31:21 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/ipc/shmem.c,v 1.76 2003/12/21 04:30:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -258,9 +258,7 @@ InitShmemIndex(void) * ShmemInitHash -- Create/Attach to and initialize * shared memory hash table. * - * Notes: - * - * assume caller is doing some kind of synchronization + * We assume caller is doing some kind of synchronization * so that two people dont try to create/initialize the * table at once. */ |