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
 
MemoryContext copycontext
 
AttrNumber num_defaults
 
FmgrInfoin_functions
 
Oidtypioparams
 
int * defmap
 
ExprState ** defexprs
 
bool volatile_defexprs
 
Listrange_table
 
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 56 of file copyfrom_internal.h.

Field Documentation

◆ attnumlist

List* CopyFromStateData::attnumlist

Definition at line 70 of file copyfrom_internal.h.

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

◆ attribute_buf

StringInfoData CopyFromStateData::attribute_buf

◆ bytes_processed

uint64 CopyFromStateData::bytes_processed

Definition at line 166 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyLoadRawBuf().

◆ conversion_proc

Oid CopyFromStateData::conversion_proc

Definition at line 66 of file copyfrom_internal.h.

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

◆ convert_select_flags

bool* CopyFromStateData::convert_select_flags

Definition at line 76 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ copy_file

FILE* CopyFromStateData::copy_file

Definition at line 60 of file copyfrom_internal.h.

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

◆ copy_src

CopySource CopyFromStateData::copy_src

Definition at line 59 of file copyfrom_internal.h.

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

◆ copycontext

MemoryContext CopyFromStateData::copycontext

Definition at line 88 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and EndCopyFrom().

◆ cur_attname

const char* CopyFromStateData::cur_attname

Definition at line 82 of file copyfrom_internal.h.

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

◆ cur_attval

const char* CopyFromStateData::cur_attval

Definition at line 83 of file copyfrom_internal.h.

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

◆ cur_lineno

◆ cur_relname

const char* CopyFromStateData::cur_relname

Definition at line 80 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFromErrorCallback().

◆ data_source_cb

copy_data_source_cb CopyFromStateData::data_source_cb

Definition at line 73 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyGetData().

◆ defexprs

ExprState** CopyFromStateData::defexprs

Definition at line 94 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ defmap

int* CopyFromStateData::defmap

Definition at line 93 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ eol_type

EolType CopyFromStateData::eol_type

Definition at line 63 of file copyfrom_internal.h.

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

◆ fe_msgbuf

StringInfo CopyFromStateData::fe_msgbuf

Definition at line 61 of file copyfrom_internal.h.

Referenced by CopyGetData(), and ReceiveCopyBegin().

◆ file_encoding

int CopyFromStateData::file_encoding

Definition at line 64 of file copyfrom_internal.h.

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

◆ filename

char* CopyFromStateData::filename

Definition at line 71 of file copyfrom_internal.h.

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

◆ in_functions

FmgrInfo* CopyFromStateData::in_functions

Definition at line 91 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 148 of file copyfrom_internal.h.

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

◆ is_program

bool CopyFromStateData::is_program

Definition at line 72 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 90 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ opts

◆ qualexpr

ExprState* CopyFromStateData::qualexpr

Definition at line 97 of file copyfrom_internal.h.

Referenced by CopyFrom().

◆ range_table

List* CopyFromStateData::range_table

Definition at line 96 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

Relation CopyFromStateData::rel

Definition at line 69 of file copyfrom_internal.h.

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

◆ transition_capture

TransitionCaptureState* CopyFromStateData::transition_capture

Definition at line 99 of file copyfrom_internal.h.

Referenced by CopyFrom(), and CopyMultiInsertBufferFlush().

◆ typioparams

Oid* CopyFromStateData::typioparams

Definition at line 92 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

◆ volatile_defexprs

bool CopyFromStateData::volatile_defexprs

Definition at line 95 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

◆ whereClause

Node* CopyFromStateData::whereClause

Definition at line 77 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().


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