PostgreSQL Source Code  git master
ErrorData Struct Reference

#include <elog.h>

Data Fields

int elevel
 
bool output_to_server
 
bool output_to_client
 
bool show_funcname
 
bool hide_stmt
 
bool hide_ctx
 
const char * filename
 
int lineno
 
const char * funcname
 
const char * domain
 
const char * context_domain
 
int sqlerrcode
 
char * message
 
char * detail
 
char * detail_log
 
char * hint
 
char * context
 
const char * message_id
 
char * schema_name
 
char * table_name
 
char * column_name
 
char * datatype_name
 
char * constraint_name
 
int cursorpos
 
int internalpos
 
char * internalquery
 
int saved_errno
 
struct MemoryContextDataassoc_context
 

Detailed Description

Definition at line 346 of file elog.h.

Field Documentation

◆ assoc_context

◆ column_name

◆ constraint_name

◆ context

◆ context_domain

const char* ErrorData::context_domain

Definition at line 358 of file elog.h.

Referenced by errcontext_msg(), errstart(), and set_errcontext_domain().

◆ cursorpos

◆ datatype_name

◆ detail

◆ detail_log

char* ErrorData::detail_log

◆ domain

◆ elevel

◆ filename

◆ funcname

◆ hide_ctx

bool ErrorData::hide_ctx

Definition at line 353 of file elog.h.

Referenced by errhidecontext(), send_message_to_server_log(), and write_csvlog().

◆ hide_stmt

bool ErrorData::hide_stmt

Definition at line 352 of file elog.h.

Referenced by errhidestmt(), send_message_to_server_log(), and write_csvlog().

◆ hint

◆ internalpos

◆ internalquery

◆ lineno

◆ message

◆ message_id

const char* ErrorData::message_id

Definition at line 365 of file elog.h.

Referenced by elog_finish(), errmsg(), errmsg_internal(), errmsg_plural(), and format_elog_string().

◆ output_to_client

bool ErrorData::output_to_client

Definition at line 350 of file elog.h.

Referenced by EmitErrorReport(), errstart(), and pg_re_throw().

◆ output_to_server

bool ErrorData::output_to_server

Definition at line 349 of file elog.h.

Referenced by EmitErrorReport(), errstart(), and pg_re_throw().

◆ saved_errno

int ErrorData::saved_errno

◆ schema_name

◆ show_funcname

bool ErrorData::show_funcname

Definition at line 351 of file elog.h.

Referenced by errfunction(), and send_message_to_frontend().

◆ sqlerrcode

◆ table_name


The documentation for this struct was generated from the following file: