PostgreSQL Source Code git master
Loading...
Searching...
No Matches
CopyToStateData Struct Reference

Data Fields

const CopyToRoutineroutine
 
CopyDest copy_dest
 
FILEcopy_file
 
StringInfo fe_msgbuf
 
int file_encoding
 
bool need_transcoding
 
bool encoding_embeds_ascii
 
Relation rel
 
QueryDescqueryDesc
 
Listattnumlist
 
charfilename
 
bool is_program
 
bool json_row_delim_needed
 
StringInfo json_buf
 
TupleDesc tupDesc
 
Datumjson_projvalues
 
booljson_projnulls
 
copy_data_dest_cb data_dest_cb
 
CopyFormatOptions opts
 
NodewhereClause
 
Listpartitions
 
MemoryContext copycontext
 
FmgrInfoout_functions
 
MemoryContext rowcontext
 
uint64 bytes_processed
 

Detailed Description

Definition at line 71 of file copyto.c.

Field Documentation

◆ attnumlist

◆ bytes_processed

uint64 CopyToStateData::bytes_processed

Definition at line 112 of file copyto.c.

Referenced by BeginCopyTo(), and CopySendEndOfRow().

◆ copy_dest

CopyDest CopyToStateData::copy_dest

Definition at line 77 of file copyto.c.

Referenced by BeginCopyTo(), CopySendEndOfRow(), CopySendTextLikeEndOfRow(), and SendCopyBegin().

◆ copy_file

FILE* CopyToStateData::copy_file

Definition at line 78 of file copyto.c.

Referenced by BeginCopyTo(), ClosePipeToProgram(), CopySendEndOfRow(), and EndCopy().

◆ copycontext

MemoryContext CopyToStateData::copycontext

Definition at line 108 of file copyto.c.

Referenced by BeginCopyTo(), and EndCopy().

◆ data_dest_cb

copy_data_dest_cb CopyToStateData::data_dest_cb

Definition at line 99 of file copyto.c.

Referenced by BeginCopyTo(), CopySendEndOfRow(), and DoCopyTo().

◆ encoding_embeds_ascii

bool CopyToStateData::encoding_embeds_ascii

Definition at line 83 of file copyto.c.

Referenced by BeginCopyTo(), CopyAttributeOutCSV(), and CopyAttributeOutText().

◆ fe_msgbuf

StringInfo CopyToStateData::fe_msgbuf

◆ file_encoding

int CopyToStateData::file_encoding

◆ filename

char* CopyToStateData::filename

Definition at line 89 of file copyto.c.

Referenced by BeginCopyTo(), ClosePipeToProgram(), DoCopyTo(), and EndCopy().

◆ is_program

bool CopyToStateData::is_program

Definition at line 90 of file copyto.c.

Referenced by BeginCopyTo(), ClosePipeToProgram(), CopySendEndOfRow(), and EndCopy().

◆ json_buf

StringInfo CopyToStateData::json_buf

Definition at line 92 of file copyto.c.

Referenced by BeginCopyTo(), and CopyToJsonOneRow().

◆ json_projnulls

bool* CopyToStateData::json_projnulls

Definition at line 98 of file copyto.c.

Referenced by BeginCopyTo(), and CopyToJsonOneRow().

◆ json_projvalues

Datum* CopyToStateData::json_projvalues

Definition at line 96 of file copyto.c.

Referenced by BeginCopyTo(), and CopyToJsonOneRow().

◆ json_row_delim_needed

bool CopyToStateData::json_row_delim_needed

Definition at line 91 of file copyto.c.

Referenced by CopyToJsonOneRow().

◆ need_transcoding

bool CopyToStateData::need_transcoding

◆ opts

◆ out_functions

FmgrInfo* CopyToStateData::out_functions

Definition at line 110 of file copyto.c.

Referenced by CopyToBinaryOneRow(), CopyToTextLikeOneRow(), and DoCopyTo().

◆ partitions

List* CopyToStateData::partitions

Definition at line 103 of file copyto.c.

Referenced by BeginCopyTo(), DoCopyTo(), and EndCopy().

◆ queryDesc

QueryDesc* CopyToStateData::queryDesc

Definition at line 87 of file copyto.c.

Referenced by BeginCopyTo(), DoCopyTo(), and EndCopyTo().

◆ rel

Relation CopyToStateData::rel

Definition at line 86 of file copyto.c.

Referenced by BeginCopyTo(), CopyToJsonOneRow(), and DoCopyTo().

◆ routine

const CopyToRoutine* CopyToStateData::routine

Definition at line 74 of file copyto.c.

Referenced by BeginCopyTo(), CopyOneRowTo(), and DoCopyTo().

◆ rowcontext

MemoryContext CopyToStateData::rowcontext

Definition at line 111 of file copyto.c.

Referenced by CopyOneRowTo(), and DoCopyTo().

◆ tupDesc

TupleDesc CopyToStateData::tupDesc

Definition at line 94 of file copyto.c.

Referenced by BeginCopyTo(), and CopyToJsonOneRow().

◆ whereClause

Node* CopyToStateData::whereClause

Definition at line 102 of file copyto.c.


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