* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.33 1998/01/25 05:12:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.34 1998/02/06 19:18:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
* ----------------
*/
pqsignal(SIGINT, (sig_func) die);
-#ifndef win32
pqsignal(SIGHUP, (sig_func) die);
pqsignal(SIGTERM, (sig_func) die);
-#endif /* win32 */
/* --------------------
* initialize globals
exitpg(1);
}
-#ifdef win32
- _nt_init();
- _nt_attach();
-#endif /* win32 */
-
-
/* ----------------
* backend initialization
* ----------------
hashtable[i] = NULL;
/* ----------------
- * abort processing resumes here - What to do in WIN32?
+ * abort processing resumes here
* ----------------
*/
-#ifndef win32
pqsignal(SIGHUP, handle_warn);
if (sigsetjmp(Warn_restart, 1) != 0)
{
-#else
- if (setjmp(Warn_restart) != 0)
- {
-#endif /* win32 */
Warnings++;
AbortCurrentTransaction();
}
attlen = attrtypes[attnum]->attlen = Procid[t].len;
attrtypes[attnum]->attbyval = (attlen == 1) || (attlen == 2) || (attlen == 4);
}
+ attrtypes[attnum]->attcacheoff = -1;
}