PostgreSQL Source Code  git master
ErrorData Struct Reference

#include <elog.h>

Data Fields

int elevel
 
bool output_to_server
 
bool output_to_client
 
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
 
char * backtrace
 
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 426 of file elog.h.

Field Documentation

◆ assoc_context

◆ backtrace

char* ErrorData::backtrace

◆ column_name

◆ constraint_name

◆ context

◆ context_domain

const char* ErrorData::context_domain

Definition at line 437 of file elog.h.

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

◆ cursorpos

◆ datatype_name

◆ detail

◆ detail_log

char* ErrorData::detail_log

◆ domain

◆ elevel

◆ filename

◆ funcname

◆ hide_ctx

bool ErrorData::hide_ctx

Definition at line 432 of file elog.h.

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

◆ hide_stmt

bool ErrorData::hide_stmt

Definition at line 431 of file elog.h.

Referenced by check_log_of_query(), and errhidestmt().

◆ hint

◆ internalpos

◆ internalquery

◆ lineno

◆ message

◆ message_id

const char* ErrorData::message_id

Definition at line 445 of file elog.h.

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

◆ output_to_client

bool ErrorData::output_to_client

Definition at line 430 of file elog.h.

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

◆ output_to_server

bool ErrorData::output_to_server

Definition at line 429 of file elog.h.

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

◆ saved_errno

int ErrorData::saved_errno

◆ schema_name

◆ sqlerrcode

◆ table_name


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