*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.91 1998/06/27 13:24:19 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.92 1998/06/27 14:06:40 momjian Exp $
*
* NOTES
*
if (DebugLvl)
fprintf(stderr, "%s: CleanupProc: reinitializing shared memory and semaphores\n",
progname);
- shmem_exit();
+ shmem_exit(0);
reset_shared(PostPortName);
}
}
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.23 1998/06/27 04:53:36 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.24 1998/06/27 14:06:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
if (!BindingTable)
{
- /* Assert() is a macro now. substitutes inside quotes. */
#ifdef USE_ASSERT_CHECKING
char *strname = "BindingTable";
-
#endif
-
/*
* If the binding table doesnt exist, we fake it.
*
if (!result)
{
-
SpinRelease(BindingLock);
elog(ERROR, "ShmemInitStruct: Binding Table corrupted");
}
else if (*foundPtr)
{
-
/*
* Structure is in the binding table so someone else has allocated
* it already. The size better be the same as the size we are
}
else
{
-
/* It isn't in the table yet. allocate and initialize it */
structPtr = ShmemAlloc((long) size);
if (!structPtr)