aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/error/exc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/utils/error/exc.c b/src/backend/utils/error/exc.c
index 3cc3f01f508..fce0bef8894 100644
--- a/src/backend/utils/error/exc.c
+++ b/src/backend/utils/error/exc.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.6 1996/11/10 03:03:31 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/exc.c,v 1.7 1996/12/14 05:55:27 vadim Exp $
*
* NOTE
* XXX this code needs improvement--check for state violations and
@@ -183,6 +183,10 @@ ExcRaise(Exception *excP,
ExcCurFrameP = efp->link;
+#if defined (JMP_BUF)
longjmp(efp->context, 1);
+#else
+ siglongjmp(efp->context, 1);
+#endif
}
}