このページを編集する際は、編集に関する方針に従ってください。

概要

引数

実装

#define ereport(elevel, rest)  \
	(errstart(elevel, __FILE__, __LINE__, PG_FUNCNAME_MACRO) ? \
	 (errfinish rest) : (void) 0)

呼出元

備考

/*----------
* New-style error reporting API: to be used in this way:
*		ereport(ERROR,
*				(errcode(ERRCODE_UNDEFINED_CURSOR),
*				 errmsg("portal \"%s\" not found", stmt->portalname),
*				 ... other errxxx() fields as needed ...));
*
* The error level is required, and so is a primary error message (errmsg
* or errmsg_internal).  All else is optional.	errcode() defaults to
* ERRCODE_INTERNAL_ERROR if elevel is ERROR or more, ERRCODE_WARNING
* if elevel is WARNING, or ERRCODE_SUCCESSFUL_COMPLETION if elevel is
* NOTICE or below.
*----------
*/

履歴

コメント



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS