excid.c

来自「关系型数据库 Postgresql 6.5.2」· C语言 代码 · 共 66 行

C
66
字号
/*------------------------------------------------------------------------- * * excid.c *	  POSTGRES known exception identifier code. * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION *	  $Header: /usr/local/cvsroot/pgsql/src/backend/utils/error/excid.c,v 1.6.2.1 1999/08/02 05:25:04 scrappy Exp $ * *------------------------------------------------------------------------- */#include "postgres.h"/***************************************************************************** *	 Generic Recoverable Exceptions											 * *****************************************************************************//* * FailedAssertion *		Indicates an Assert(...) failed. */Exception	FailedAssertion = {"Failed Assertion"};/* * BadState *		Indicates a function call request is inconsistent with module state. */Exception	BadState = {"Bad State for Function Call"};/* * BadArg *		Indicates a function call argument or arguments is out-of-bounds. */Exception	BadArg = {"Bad Argument to Function Call"};/***************************************************************************** *	 Specific Recoverable Exceptions										 * *****************************************************************************//* * BadAllocSize *		Indicates that an allocation request is of unreasonable size. */Exception	BadAllocSize = {"Too Large Allocation Request"};/* * ExhaustedMemory *		Indicates an dynamic memory allocation failed. */Exception	ExhaustedMemory = {"Memory Allocation Failed"};/* * Unimplemented *		Indicates a function call request requires unimplemented code. */Exception	Unimplemented = {"Unimplemented Functionality"};Exception	CatalogFailure = {"Catalog failure"};		/* XXX inconsistent */Exception	InternalError = {"Internal Error"}; /* XXX inconsistent */Exception	SemanticError = {"Semantic Error"}; /* XXX inconsistent */Exception	SystemError = {"System Error"};		/* XXX inconsistent */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?