PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 427 of file elog.h.

Field Documentation

◆ assoc_context

◆ backtrace

char* ErrorData::backtrace

◆ column_name

◆ constraint_name

◆ context

◆ context_domain

const char* ErrorData::context_domain

◆ cursorpos

◆ datatype_name

◆ detail

◆ detail_log

char* ErrorData::detail_log

◆ domain

◆ elevel

◆ filename

◆ funcname

◆ hide_ctx

bool ErrorData::hide_ctx

Definition at line 433 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 432 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 446 of file elog.h.

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

◆ output_to_client

bool ErrorData::output_to_client

Definition at line 431 of file elog.h.

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

◆ output_to_server

bool ErrorData::output_to_server

Definition at line 430 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: