PostgreSQL Source Code git master
Data Fields
CopyFromStateData Struct Reference

#include <copyfrom_internal.h>

Data Fields

const struct CopyFromRoutineroutine
 
 
FILE *  copy_file
 
 
 
 
 
 
 
 
char *  filename
 
bool  is_program
 
 
 
 
 
const char *  cur_relname
 
 
const char *  cur_attname
 
const char *  cur_attval
 
bool  relname_only
 
 
 
 
 
 
 
int *  defmap
 
 
bool *  defaults
 
 
 
 
 
 
 
int  max_fields
 
char **  raw_fields
 
 
 
char *  input_buf
 
 
 
 
 
char *  raw_buf
 
 
int  raw_buf_len
 
 
 

Detailed Description

Definition at line 59 of file copyfrom_internal.h.

Field Documentation

attnumlist

List* CopyFromStateData::attnumlist

Definition at line 76 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromBinaryOneRow(), CopyFromTextLikeOneRow(), CopyFromTextLikeStart(), CopyReadAttributesCSV(), CopyReadAttributesText(), NextCopyFromRawFieldsInternal(), and ReceiveCopyBegin().

attribute_buf

StringInfoData CopyFromStateData::attribute_buf

Definition at line 129 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyReadAttributesCSV(), CopyReadAttributesText(), and CopyReadBinaryAttribute().

bytes_processed

uint64 CopyFromStateData::bytes_processed

Definition at line 183 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyLoadRawBuf().

conversion_proc

Oid CopyFromStateData::conversion_proc

Definition at line 72 of file copyfrom_internal.h.

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

convert_select_flags

bool* CopyFromStateData::convert_select_flags

Definition at line 82 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFromTextLikeOneRow().

copy_file

FILE* CopyFromStateData::copy_file

Definition at line 66 of file copyfrom_internal.h.

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

copy_src

CopySource CopyFromStateData::copy_src

Definition at line 65 of file copyfrom_internal.h.

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

copycontext

MemoryContext CopyFromStateData::copycontext

Definition at line 95 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and EndCopyFrom().

cur_attname

const char* CopyFromStateData::cur_attname

Definition at line 88 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromBinaryOneRow(), CopyFromErrorCallback(), and CopyFromTextLikeOneRow().

cur_attval

const char* CopyFromStateData::cur_attval

Definition at line 89 of file copyfrom_internal.h.

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

cur_lineno

uint64 CopyFromStateData::cur_lineno

Definition at line 87 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFrom(), CopyFromBinaryOneRow(), CopyFromErrorCallback(), CopyFromTextLikeOneRow(), CopyMultiInsertBufferFlush(), CopyReadLineText(), and NextCopyFromRawFieldsInternal().

cur_relname

const char* CopyFromStateData::cur_relname

Definition at line 86 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFromErrorCallback().

data_source_cb

copy_data_source_cb CopyFromStateData::data_source_cb

Definition at line 79 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyGetData().

defaults

bool* CopyFromStateData::defaults

Definition at line 109 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromTextLikeOneRow(), CopyReadAttributesCSV(), CopyReadAttributesText(), and NextCopyFrom().

defexprs

ExprState** CopyFromStateData::defexprs

Definition at line 107 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromTextLikeOneRow(), CopyReadAttributesCSV(), CopyReadAttributesText(), and NextCopyFrom().

defmap

int* CopyFromStateData::defmap

Definition at line 105 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

eol_type

EolType CopyFromStateData::eol_type

Definition at line 69 of file copyfrom_internal.h.

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

escontext

ErrorSaveContext* CopyFromStateData::escontext

Definition at line 101 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFrom(), CopyFromTextLikeOneRow(), file_acquire_sample_rows(), and fileIterateForeignScan().

fe_msgbuf

StringInfo CopyFromStateData::fe_msgbuf

Definition at line 67 of file copyfrom_internal.h.

Referenced by CopyGetData(), and ReceiveCopyBegin().

file_encoding

int CopyFromStateData::file_encoding

Definition at line 70 of file copyfrom_internal.h.

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

filename

char* CopyFromStateData::filename

Definition at line 77 of file copyfrom_internal.h.

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

in_functions

FmgrInfo* CopyFromStateData::in_functions

Definition at line 99 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromBinaryOneRow(), and CopyFromTextLikeOneRow().

input_buf

char* CopyFromStateData::input_buf

Definition at line 161 of file copyfrom_internal.h.

Referenced by CopyConversionError(), CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadInputBuf(), CopyLoadRawBuf(), CopyReadLine(), and CopyReadLineText().

input_buf_index

int CopyFromStateData::input_buf_index

Definition at line 162 of file copyfrom_internal.h.

Referenced by CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadInputBuf(), CopyLoadRawBuf(), CopyReadLine(), and CopyReadLineText().

input_buf_len

int CopyFromStateData::input_buf_len

Definition at line 163 of file copyfrom_internal.h.

Referenced by CopyConversionError(), CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadRawBuf(), CopyReadLine(), and CopyReadLineText().

input_reached_eof

bool CopyFromStateData::input_reached_eof

Definition at line 164 of file copyfrom_internal.h.

Referenced by CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadInputBuf(), and CopyReadLineText().

input_reached_error

bool CopyFromStateData::input_reached_error

Definition at line 165 of file copyfrom_internal.h.

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

is_program

bool CopyFromStateData::is_program

Definition at line 78 of file copyfrom_internal.h.

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

line_buf

StringInfoData CopyFromStateData::line_buf

Definition at line 143 of file copyfrom_internal.h.

Referenced by CopyFrom(), CopyFromErrorCallback(), CopyFromTextLikeStart(), CopyReadAttributesCSV(), CopyReadAttributesText(), CopyReadLine(), CopyReadLineText(), and NextCopyFromRawFieldsInternal().

line_buf_valid

bool CopyFromStateData::line_buf_valid

Definition at line 144 of file copyfrom_internal.h.

Referenced by CopyFromErrorCallback(), CopyMultiInsertBufferFlush(), and CopyReadLine().

max_fields

int CopyFromStateData::max_fields

Definition at line 133 of file copyfrom_internal.h.

Referenced by CopyFromTextLikeStart(), CopyReadAttributesCSV(), and CopyReadAttributesText().

need_transcoding

bool CopyFromStateData::need_transcoding

Definition at line 71 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyConversionError(), CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadInputBuf(), and CopyLoadRawBuf().

num_defaults

AttrNumber CopyFromStateData::num_defaults

Definition at line 97 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and NextCopyFrom().

num_errors

uint64 CopyFromStateData::num_errors

Definition at line 103 of file copyfrom_internal.h.

Referenced by CopyFrom(), CopyFromTextLikeOneRow(), file_acquire_sample_rows(), fileEndForeignScan(), and fileIterateForeignScan().

opts

CopyFormatOptions CopyFromStateData::opts

Definition at line 81 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFrom(), CopyFromErrorCallback(), CopyFromTextLikeOneRow(), CopyReadAttributesCSV(), CopyReadAttributesText(), CopyReadLineText(), file_acquire_sample_rows(), fileEndForeignScan(), fileIterateForeignScan(), NextCopyFromRawFields(), NextCopyFromRawFieldsInternal(), and ReceiveCopyBegin().

qualexpr

ExprState* CopyFromStateData::qualexpr

Definition at line 114 of file copyfrom_internal.h.

Referenced by CopyFrom().

range_table

List* CopyFromStateData::range_table

Definition at line 112 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

raw_buf

char* CopyFromStateData::raw_buf

Definition at line 175 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyConversionError(), CopyConvertBuf(), CopyFromTextLikeStart(), CopyLoadInputBuf(), CopyLoadRawBuf(), and CopyReadBinaryData().

raw_buf_index

int CopyFromStateData::raw_buf_index

Definition at line 176 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyConversionError(), CopyConvertBuf(), CopyLoadInputBuf(), CopyLoadRawBuf(), CopyReadBinaryData(), and CopyReadLine().

raw_buf_len

int CopyFromStateData::raw_buf_len

Definition at line 177 of file copyfrom_internal.h.

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

raw_fields

char** CopyFromStateData::raw_fields

Definition at line 134 of file copyfrom_internal.h.

Referenced by CopyFromTextLikeStart(), CopyReadAttributesCSV(), CopyReadAttributesText(), and NextCopyFromRawFieldsInternal().

raw_reached_eof

bool CopyFromStateData::raw_reached_eof

Definition at line 178 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), ClosePipeFromProgram(), CopyConvertBuf(), CopyGetData(), CopyLoadInputBuf(), CopyLoadRawBuf(), and CopyReadBinaryData().

rel

Relation CopyFromStateData::rel

Definition at line 75 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFrom(), CopyFromBinaryOneRow(), CopyFromTextLikeOneRow(), CopyReadAttributesCSV(), CopyReadAttributesText(), NextCopyFrom(), and NextCopyFromRawFieldsInternal().

relname_only

bool CopyFromStateData::relname_only

Definition at line 90 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromErrorCallback(), CopyFromTextLikeOneRow(), and CopyMultiInsertBufferFlush().

routine

const struct CopyFromRoutine* CopyFromStateData::routine

Definition at line 62 of file copyfrom_internal.h.

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

rteperminfos

List* CopyFromStateData::rteperminfos

Definition at line 113 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

transition_capture

TransitionCaptureState* CopyFromStateData::transition_capture

Definition at line 116 of file copyfrom_internal.h.

Referenced by CopyFrom(), and CopyMultiInsertBufferFlush().

typioparams

Oid* CopyFromStateData::typioparams

Definition at line 100 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), CopyFromBinaryOneRow(), and CopyFromTextLikeOneRow().

volatile_defexprs

bool CopyFromStateData::volatile_defexprs

Definition at line 111 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().

whereClause

Node* CopyFromStateData::whereClause

Definition at line 83 of file copyfrom_internal.h.

Referenced by BeginCopyFrom(), and CopyFrom().


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

AltStyle によって変換されたページ (->オリジナル) /