aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/excid.h
blob: a0d5edc6f9307c034f153236a5562d66d7d1ab36 (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
/*-------------------------------------------------------------------------
 *
 * excid.h--
 *    POSTGRES known exception identifier definitions.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: excid.h,v 1.1.1.1 1996/07/09 06:22:01 scrappy Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef	EXCID_H
#define EXCID_H

#include "c.h"
#include "utils/exc.h"	/* for Exception */

extern Exception FailedAssertion;
extern Exception BadState;
extern Exception BadArg;
extern Exception BadAllocSize;
extern Exception ExhaustedMemory;
extern Exception Unimplemented;

extern Exception CatalogFailure;	/* XXX inconsistent naming style */
extern Exception InternalError;		/* XXX inconsistent naming style */
extern Exception SemanticError;		/* XXX inconsistent naming style */
extern Exception SystemError;		/* XXX inconsistent naming style */

#endif	/* EXCID_H */