aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/error/excabort.c
blob: 29fd64ab7d5fb6300c94e7fb1eabfb3c9adb3b31 (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.2 1996/11/03 06:53:32 scrappy 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
}