Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
8db20b4a
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8db20b4a
编写于
8月 10, 2002
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove error files.
上级
87cfb8eb
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
119 deletion
+0
-119
src/include/utils/exc.h
src/include/utils/exc.h
+0
-88
src/include/utils/excid.h
src/include/utils/excid.h
+0
-31
未找到文件。
src/include/utils/exc.h
已删除
100644 → 0
浏览文件 @
87cfb8eb
/*-------------------------------------------------------------------------
*
* exc.h
* POSTGRES exception handling definitions.
*
*
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: exc.h,v 1.24 2002/06/20 20:29:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXC_H
#define EXC_H
#include <setjmp.h>
extern
char
*
ExcFileName
;
extern
Index
ExcLineNumber
;
typedef
sigjmp_buf
ExcContext
;
typedef
Exception
*
ExcId
;
typedef
long
ExcDetail
;
typedef
char
*
ExcData
;
typedef
struct
ExcFrame
{
struct
ExcFrame
*
link
;
ExcContext
context
;
ExcId
id
;
ExcDetail
detail
;
ExcData
data
;
ExcMessage
message
;
}
ExcFrame
;
extern
ExcFrame
*
ExcCurFrameP
;
/* These are not used anywhere 1998/6/15 */
#define ExcBegin() \
do { \
ExcFrame exception; \
\
exception.link = ExcCurFrameP; \
if (sigsetjmp(exception.context, 1) == 0) \
{ \
ExcCurFrameP = &exception;
#define ExcExcept() \
} \
ExcCurFrameP = exception.link; \
} \
else \
{ \
{
#define ExcEnd() \
} \
} \
} while(0)
#define raise4(x, t, d, message) \
ExcRaise(&(x), (ExcDetail)(t), (ExcData)(d), (ExcMessage)(message))
#define reraise() \
raise4(*exception.id,exception.detail,exception.data,exception.message)
typedef
void
ExcProc
(
Exception
*
,
ExcDetail
,
ExcData
,
ExcMessage
);
/*
* prototypes for functions in exc.c
*/
extern
void
EnableExceptionHandling
(
bool
on
);
extern
void
ExcRaise
(
Exception
*
excP
,
ExcDetail
detail
,
ExcData
data
,
ExcMessage
message
);
/*
* prototypes for functions in excabort.c
*/
extern
void
ExcAbort
(
const
Exception
*
excP
,
ExcDetail
detail
,
ExcData
data
,
ExcMessage
message
);
#endif
/* EXC_H */
src/include/utils/excid.h
已删除
100644 → 0
浏览文件 @
87cfb8eb
/*-------------------------------------------------------------------------
*
* excid.h
* POSTGRES known exception identifier definitions.
*
*
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: excid.h,v 1.14 2002/06/20 20:29:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef EXCID_H
#define EXCID_H
/* note: these first three are also declared in postgres.h */
extern
DLLIMPORT
Exception
FailedAssertion
;
extern
DLLIMPORT
Exception
BadState
;
extern
DLLIMPORT
Exception
BadArg
;
extern
DLLIMPORT
Exception
Unimplemented
;
extern
DLLIMPORT
Exception
CatalogFailure
;
/* XXX inconsistent naming
* style */
extern
DLLIMPORT
Exception
InternalError
;
/* XXX inconsistent naming
* style */
extern
DLLIMPORT
Exception
SemanticError
;
/* XXX inconsistent naming
* style */
extern
DLLIMPORT
Exception
SystemError
;
/* XXX inconsistent naming style */
#endif
/* EXCID_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录