|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.11 1996/11/2707:17:48 vadim Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
|
46 | 46 | * This is so that we can support more backends. (system-wide semaphore
|
47 | 47 | * sets run out pretty fast.) -ay 4/95
|
48 | 48 | *
|
49 |
| - * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $ |
| 49 | + * $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.11 1996/11/2707:17:48 vadim Exp $ |
50 | 50 | */
|
51 | 51 | #include<sys/time.h>
|
52 | 52 | #ifndefWIN32
|
53 | 53 | #include<unistd.h>
|
54 | 54 | #endif/* WIN32 */
|
55 | 55 | #include<string.h>
|
| 56 | +#include<signal.h> |
56 | 57 | #include<sys/types.h>
|
57 | 58 | #include<sys/ipc.h>
|
58 | 59 | #include<sys/sem.h>
|
@@ -251,6 +252,7 @@ InitProcess(IPCKey key)
|
251 | 252 | SpinRelease(ProcStructLock);
|
252 | 253 |
|
253 | 254 | MyProc->pid=0;
|
| 255 | +MyProc->xid=InvalidTransactionId; |
254 | 256 | #if0
|
255 | 257 | MyProc->pid=MyPid;
|
256 | 258 | #endif
|
|