PostgreSQL Source Code  git master
CopyFromStateData Struct Reference

#include <copyfrom_internal.h>

Data Fields

CopySource copy_src
 
FILE * copy_file
 
StringInfo fe_msgbuf
 
EolType eol_type
 
int file_encoding
 
bool need_transcoding
 
Oid conversion_proc
 
Relation rel
 
Listattnumlist
 
char * filename
 
bool is_program
 
copy_data_source_cb data_source_cb
 
CopyFormatOptions opts
 
boolconvert_select_flags
 
NodewhereClause
 
const char * cur_relname
 
uint64 cur_lineno
 
const char * cur_attname
 
const char * cur_attval
 
bool relname_only
 
MemoryContext copycontext
 
AttrNumber num_defaults
 
FmgrInfoin_functions
 
Oidtypioparams
 
ErrorSaveContextescontext
 
uint64 num_errors
 
int * defmap
 
ExprState ** defexprs
 
booldefaults
 
bool volatile_defexprs
 
Listrange_table
 
Listrteperminfos
 
ExprStatequalexpr
 
TransitionCaptureStatetransition_capture
 
StringInfoData attribute_buf
 
int max_fields
 
char ** raw_fields
 
StringInfoData line_buf
 
bool line_buf_valid
 
char * input_buf
 
int input_buf_index
 
int input_buf_len
 
bool input_reached_eof
 
bool input_reached_error
 
char * raw_buf
 
int raw_buf_index
 
int raw_buf_len
 
bool raw_reached_eof
 
uint64 bytes_processed
 

Detailed Description

Definition at line 59 of file copyfrom_internal.h.

Field Documentation

◆ attnumlist

◆ attribute_buf

StringInfoData CopyFromStateData::attribute_buf

◆ bytes_processed

uint64 CopyFromStateData::bytes_processed

Definition at line 180 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyLoadRawBuf().

◆ conversion_proc

Oid CopyFromStateData::conversion_proc

Definition at line 69 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyConversionError(), and CopyConvertBuf().

◆ convert_select_flags

bool* CopyFromStateData::convert_select_flags

Definition at line 79 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ copy_file

FILE* CopyFromStateData::copy_file

Definition at line 63 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), ClosePipeFromProgram(), CopyGetData(), and EndCopyFrom().

◆ copy_src

CopySource CopyFromStateData::copy_src

Definition at line 62 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyGetData(), CopyReadLine(), and ReceiveCopyBegin().

◆ copycontext

MemoryContext CopyFromStateData::copycontext

Definition at line 92 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and EndCopyFrom().

◆ cur_attname

const char* CopyFromStateData::cur_attname

Definition at line 85 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromErrorCallback(), and NextCopyFrom().

◆ cur_attval

const char* CopyFromStateData::cur_attval

Definition at line 86 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromErrorCallback(), and NextCopyFrom().

◆ cur_lineno

◆ cur_relname

const char* CopyFromStateData::cur_relname

Definition at line 83 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFromErrorCallback().

◆ data_source_cb

copy_data_source_cb CopyFromStateData::data_source_cb

Definition at line 76 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyGetData().

◆ defaults

bool* CopyFromStateData::defaults

◆ defexprs

ExprState** CopyFromStateData::defexprs

◆ defmap

int* CopyFromStateData::defmap

Definition at line 102 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ eol_type

EolType CopyFromStateData::eol_type

Definition at line 66 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyReadLine(), and CopyReadLineText().

◆ escontext

ErrorSaveContext* CopyFromStateData::escontext

Definition at line 98 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFrom(), and NextCopyFrom().

◆ fe_msgbuf

StringInfo CopyFromStateData::fe_msgbuf

Definition at line 64 of file copyfrom_internal.h.

Referenced by CopyGetData(), and ReceiveCopyBegin().

◆ file_encoding

int CopyFromStateData::file_encoding

Definition at line 67 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyConversionError(), and CopyConvertBuf().

◆ filename

char* CopyFromStateData::filename

Definition at line 74 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), ClosePipeFromProgram(), and EndCopyFrom().

◆ in_functions

FmgrInfo* CopyFromStateData::in_functions

Definition at line 96 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ input_buf

char* CopyFromStateData::input_buf

◆ input_buf_index

int CopyFromStateData::input_buf_index

◆ input_buf_len

int CopyFromStateData::input_buf_len

◆ input_reached_eof

bool CopyFromStateData::input_reached_eof

◆ input_reached_error

bool CopyFromStateData::input_reached_error

Definition at line 162 of file copyfrom_internal.h.

Referenced by CopyConversionError(), CopyConvertBuf(), and CopyLoadInputBuf().

◆ is_program

bool CopyFromStateData::is_program

Definition at line 75 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), ClosePipeFromProgram(), and EndCopyFrom().

◆ line_buf

◆ line_buf_valid

bool CopyFromStateData::line_buf_valid

◆ max_fields

int CopyFromStateData::max_fields

◆ need_transcoding

bool CopyFromStateData::need_transcoding

◆ num_defaults

AttrNumber CopyFromStateData::num_defaults

Definition at line 94 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ num_errors

uint64 CopyFromStateData::num_errors

Definition at line 100 of file copyfrom_internal.h.

Referenced by CopyFrom(), and NextCopyFrom().

◆ opts

◆ qualexpr

ExprState* CopyFromStateData::qualexpr

Definition at line 111 of file copyfrom_internal.h.

Referenced by CopyFrom().

◆ range_table

List* CopyFromStateData::range_table

Definition at line 109 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

◆ raw_buf

char* CopyFromStateData::raw_buf

◆ raw_buf_index

int CopyFromStateData::raw_buf_index

◆ raw_buf_len

int CopyFromStateData::raw_buf_len

◆ raw_fields

char** CopyFromStateData::raw_fields

◆ raw_reached_eof

bool CopyFromStateData::raw_reached_eof

◆ rel

◆ relname_only

bool CopyFromStateData::relname_only

◆ rteperminfos

List* CopyFromStateData::rteperminfos

Definition at line 110 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

◆ transition_capture

TransitionCaptureState* CopyFromStateData::transition_capture

Definition at line 113 of file copyfrom_internal.h.

Referenced by CopyFrom(), and CopyMultiInsertBufferFlush().

◆ typioparams

Oid* CopyFromStateData::typioparams

Definition at line 97 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ volatile_defexprs

bool CopyFromStateData::volatile_defexprs

Definition at line 108 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

◆ whereClause

Node* CopyFromStateData::whereClause

Definition at line 80 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().


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