*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.31 2000/10/03 03:11:22 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.32 2000/10/28 23:53:00 petere Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
ExcCurFrameP = efp->link;
-#if defined (JMP_BUF)
- longjmp(efp->context, 1);
-#else
siglongjmp(efp->context, 1);
-#endif
}
}
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: exc.h,v 1.16 2000/01/26 05:58:38 momjian Exp $
+ * $Id: exc.h,v 1.17 2000/10/28 23:53:01 petere Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXC_H
#define EXC_H
-#include <setjmp.h>
-
#include "config.h"
+#include <setjmp.h>
+
extern char *ExcFileName;
extern Index ExcLineNumber;
-/*
- * ExcMessage and Exception are now defined in c.h
- */
-#if defined(JMP_BUF)
-typedef jmp_buf ExcContext;
-
-#else
typedef sigjmp_buf ExcContext;
-#endif
-
typedef Exception *ExcId;
typedef long ExcDetail;
typedef char *ExcData;