PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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 charfilename
 
int lineno
 
const charfuncname
 
const chardomain
 
const charcontext_domain
 
int sqlerrcode
 
charmessage
 
chardetail
 
chardetail_log
 
charhint
 
charcontext
 
charbacktrace
 
const charmessage_id
 
charschema_name
 
chartable_name
 
charcolumn_name
 
chardatatype_name
 
charconstraint_name
 
int cursorpos
 
int internalpos
 
charinternalquery
 
int saved_errno
 
struct MemoryContextDataassoc_context
 

Detailed Description

Definition at line 419 of file elog.h.

Field Documentation

◆ assoc_context

struct MemoryContextData* ErrorData::assoc_context

Definition at line 450 of file elog.h.

◆ backtrace

char* ErrorData::backtrace

Definition at line 437 of file elog.h.

◆ column_name

char* ErrorData::column_name

Definition at line 441 of file elog.h.

Referenced by exec_stmt_getdiag().

◆ constraint_name

char* ErrorData::constraint_name

Definition at line 443 of file elog.h.

Referenced by exec_stmt_getdiag().

◆ context

char* ErrorData::context

Definition at line 436 of file elog.h.

Referenced by exec_stmt_getdiag().

◆ context_domain

const char* ErrorData::context_domain

Definition at line 430 of file elog.h.

◆ cursorpos

int ErrorData::cursorpos

Definition at line 444 of file elog.h.

◆ datatype_name

char* ErrorData::datatype_name

Definition at line 442 of file elog.h.

Referenced by exec_stmt_getdiag().

◆ detail

char* ErrorData::detail

Definition at line 433 of file elog.h.

Referenced by exec_stmt_getdiag(), and pg_input_error_info().

◆ detail_log

char* ErrorData::detail_log

Definition at line 434 of file elog.h.

◆ domain

const char* ErrorData::domain

Definition at line 429 of file elog.h.

◆ elevel

int ErrorData::elevel

Definition at line 421 of file elog.h.

Referenced by statatt_build_stavalues().

◆ filename

const char* ErrorData::filename

Definition at line 426 of file elog.h.

◆ funcname

const char* ErrorData::funcname

Definition at line 428 of file elog.h.

◆ hide_ctx

bool ErrorData::hide_ctx

Definition at line 425 of file elog.h.

◆ hide_stmt

bool ErrorData::hide_stmt

Definition at line 424 of file elog.h.

◆ hint

char* ErrorData::hint

Definition at line 435 of file elog.h.

Referenced by exec_stmt_getdiag(), and pg_input_error_info().

◆ internalpos

int ErrorData::internalpos

Definition at line 445 of file elog.h.

◆ internalquery

char* ErrorData::internalquery

Definition at line 446 of file elog.h.

◆ lineno

int ErrorData::lineno

Definition at line 427 of file elog.h.

◆ message

char* ErrorData::message

Definition at line 432 of file elog.h.

Referenced by exec_stmt_getdiag(), ExecEvalJsonCoercionFinish(), and pg_input_error_info().

◆ message_id

const char* ErrorData::message_id

Definition at line 438 of file elog.h.

◆ output_to_client

bool ErrorData::output_to_client

Definition at line 423 of file elog.h.

◆ output_to_server

bool ErrorData::output_to_server

Definition at line 422 of file elog.h.

◆ saved_errno

int ErrorData::saved_errno

Definition at line 447 of file elog.h.

◆ schema_name

char* ErrorData::schema_name

Definition at line 439 of file elog.h.

Referenced by exec_stmt_getdiag().

◆ sqlerrcode

int ErrorData::sqlerrcode

Definition at line 431 of file elog.h.

Referenced by exec_stmt_getdiag(), and pg_input_error_info().

◆ table_name

char* ErrorData::table_name

Definition at line 440 of file elog.h.

Referenced by exec_stmt_getdiag().


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