| 
Clases | 
| struct | ErrorContextCallback | 
| struct | ErrorData | 
| 
'defines' | 
| #define | DEBUG5   10 | 
| #define | DEBUG4   11 | 
| #define | DEBUG3   12 | 
| #define | DEBUG2   13 | 
| #define | DEBUG1   14 | 
| #define | LOG   15 | 
| #define | COMMERROR   16 | 
| #define | INFO   17 | 
| #define | NOTICE   18 | 
| #define | WARNING   19 | 
| #define | ERROR   20 | 
| #define | FATAL   21 | 
| #define | PANIC   22 | 
| #define | PGSIXBIT(ch)   (((ch) - '0') & 0x3F) | 
| #define | PGUNSIXBIT(val)   (((val) & 0x3F) + '0') | 
| #define | MAKE_SQLSTATE(ch1, ch2, ch3, ch4, ch5) | 
| #define | ERRCODE_TO_CATEGORY(ec)   ((ec) & ((1 << 12) - 1)) | 
| #define | ERRCODE_IS_CATEGORY(ec)   (((ec) & ~((1 << 12) - 1)) == 0) | 
| #define | PG_FUNCNAME_MACRO   NULL | 
| #define | ereport(elevel, rest) | 
| #define | elog   elog_start(__FILE__, __LINE__, PG_FUNCNAME_MACRO), elog_finish | 
| #define | PG_TRY() | 
| #define | PG_CATCH() | 
| #define | PG_END_TRY() | 
| #define | PG_RE_THROW()   siglongjmp(*PG_exception_stack, 1) | 
| #define | LOG_DESTINATION_STDERR   1 | 
| #define | LOG_DESTINATION_SYSLOG   2 | 
| #define | LOG_DESTINATION_EVENTLOG   4 | 
| 
'typedefs' | 
| typedef void struct ErrorContextCallback
 | ErrorContextCallback | 
| typedef struct ErrorData | ErrorData | 
| 
Enumeraciones | 
| enum | PGErrorVerbosity { PGERROR_TERSE, 
PGERROR_DEFAULT, 
PGERROR_VERBOSE
 } | 
| 
Funciones | 
| bool | errstart (int elevel, const char *filename, int lineno, const char *funcname) | 
| void | errfinish (int dummy,...) | 
| int | errcode (int sqlerrcode) | 
| int | errcode_for_file_access (void) | 
| int | errcode_for_socket_access (void) | 
| int | errmsg (const char *fmt,...) __attribute__((format(printf | 
| int int | errmsg_internal (const char *fmt,...) __attribute__((format(printf | 
| int int int | errdetail (const char *fmt,...) __attribute__((format(printf | 
| int int int int | errhint (const char *fmt,...) __attribute__((format(printf | 
| int int int int int | errcontext (const char *fmt,...) __attribute__((format(printf | 
| int int int int int int | errfunction (const char *funcname) | 
| int | errposition (int cursorpos) | 
| int | internalerrposition (int cursorpos) | 
| int | internalerrquery (const char *query) | 
| int | geterrposition (void) | 
| int | getinternalerrposition (void) | 
| void | elog_start (const char *filename, int lineno, const char *funcname) | 
| void | elog_finish (int elevel, const char *fmt,...) __attribute__((format(printf | 
| void | EmitErrorReport (void) | 
| ErrorData * | CopyErrorData (void) | 
| void | FreeErrorData (ErrorData *edata) | 
| void | FlushErrorState (void) | 
| void | ReThrowError (ErrorData *edata) | 
| void | DebugFileOpen (void) | 
| char * | unpack_sql_state (int sql_state) | 
| void | write_stderr (const char *fmt,...) __attribute__((format(printf | 
| 
Variables | 
| DLLIMPORT ErrorContextCallback * | error_context_stack | 
| DLLIMPORT sigjmp_buf * | PG_exception_stack | 
| PGErrorVerbosity | Log_error_verbosity | 
| char * | Log_line_prefix | 
| int | Log_destination |