diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-19 21:35:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-19 21:35:48 +0000 |
commit | ee3b71f6bce929b07636f76d1654832cb6b5a489 (patch) | |
tree | ce95108d3c0e832555b78e96afb173458991b19e /src/backend/utils/init/postinit.c | |
parent | 6910032a56dd3841be137b4bef7c57ef32a60ac8 (diff) | |
download | postgresql-ee3b71f6bce929b07636f76d1654832cb6b5a489.tar.gz postgresql-ee3b71f6bce929b07636f76d1654832cb6b5a489.zip |
Split the shared-memory array of PGPROC pointers out of the sinval
communication structure, and make it its own module with its own lock.
This should reduce contention at least a little, and it definitely makes
the code seem cleaner. Per my recent proposal.
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index fef1565a04b..7130365d4fd 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.146 2005/05/05 19:53:26 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/init/postinit.c,v 1.147 2005/05/19 21:35:47 tgl Exp $ * * *------------------------------------------------------------------------- @@ -30,9 +30,11 @@ #include "mb/pg_wchar.h" #include "miscadmin.h" #include "postmaster/postmaster.h" +#include "storage/backendid.h" #include "storage/fd.h" #include "storage/ipc.h" #include "storage/proc.h" +#include "storage/procarray.h" #include "storage/sinval.h" #include "storage/smgr.h" #include "utils/flatfiles.h" |