aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/error/excabort.c
blob: d87d57f2fef153a441743cde3ed6fab3a6a519ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*-------------------------------------------------------------------------
 *
 * excabort.c--
 *	  Default exception abort code.
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 *
 * IDENTIFICATION
 *	  $Header: /cvsroot/pgsql/src/backend/utils/error/Attic/excabort.c,v 1.4 1997/09/08 21:49:03 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */

#include "postgres.h"

#include "utils/exc.h"			/* where function declarations go */

void
ExcAbort(const Exception *excP,
		 ExcDetail detail,
		 ExcData data,
		 ExcMessage message)
{
#ifdef	__SABER__
	saber_stop();
#else
	/* dump core */
	abort();
#endif
}