Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitced30eb

Browse files
committed
[ 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 allowfork/exec on Unix, with the ultimate goal of doing CreateProcess onWin32. The changes are: o Write out postmaster global variables and per-backendvariables to be read by the exec'ed backend o Mark some static variables as global when exec is used sothen can be dumped from postmaster.c, marked NON_EXEC_STATIC o Remove value passing with -p now that we have per-backendfile o Move some pointer storage out of shared memory for easierdumping. o Modified pgsql_temp directory cleanup to handle per-databasedirectories and the backend exec directory under datadir.Claudio Natoli
1 parent2a0caef commitced30eb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/backend/storage/ipc/shmem.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/ipc/shmem.c,v 1.75 2003/12/20 17:31:21 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/ipc/shmem.c,v 1.76 2003/12/21 04:30:10 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -258,9 +258,7 @@ InitShmemIndex(void)
258258
* ShmemInitHash -- Create/Attach to and initialize
259259
*shared memory hash table.
260260
*
261-
* Notes:
262-
*
263-
* assume caller is doing some kind of synchronization
261+
* We assume caller is doing some kind of synchronization
264262
* so that two people dont try to create/initialize the
265263
* table at once.
266264
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp