PostgreSQL Source Code  git master
CopyToStateData Struct Reference

Data Fields

CopyDest copy_dest
 
FILE * copy_file
 
StringInfo fe_msgbuf
 
int file_encoding
 
bool need_transcoding
 
bool encoding_embeds_ascii
 
Relation rel
 
QueryDescqueryDesc
 
Listattnumlist
 
char * filename
 
bool is_program
 
copy_data_dest_cb data_dest_cb
 
CopyFormatOptions opts
 
NodewhereClause
 
MemoryContext copycontext
 
FmgrInfoout_functions
 
MemoryContext rowcontext
 
uint64 bytes_processed
 

Detailed Description

Definition at line 65 of file copyto.c.

Field Documentation

◆ attnumlist

List* CopyToStateData::attnumlist

Definition at line 79 of file copyto.c.

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

◆ bytes_processed

uint64 CopyToStateData::bytes_processed

Definition at line 94 of file copyto.c.

Referenced by BeginCopyTo(), and CopySendEndOfRow().

◆ copy_dest

CopyDest CopyToStateData::copy_dest

Definition at line 68 of file copyto.c.

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

◆ copy_file

FILE* CopyToStateData::copy_file

Definition at line 69 of file copyto.c.

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

◆ copycontext

MemoryContext CopyToStateData::copycontext

Definition at line 90 of file copyto.c.

Referenced by BeginCopyTo(), and EndCopy().

◆ data_dest_cb

copy_data_dest_cb CopyToStateData::data_dest_cb

Definition at line 82 of file copyto.c.

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

◆ encoding_embeds_ascii

bool CopyToStateData::encoding_embeds_ascii

Definition at line 74 of file copyto.c.

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

◆ fe_msgbuf

StringInfo CopyToStateData::fe_msgbuf

◆ file_encoding

int CopyToStateData::file_encoding

Definition at line 72 of file copyto.c.

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

◆ filename

char* CopyToStateData::filename

Definition at line 80 of file copyto.c.

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

◆ is_program

bool CopyToStateData::is_program

Definition at line 81 of file copyto.c.

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

◆ need_transcoding

bool CopyToStateData::need_transcoding

Definition at line 73 of file copyto.c.

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

◆ opts

◆ out_functions

FmgrInfo* CopyToStateData::out_functions

Definition at line 92 of file copyto.c.

Referenced by CopyOneRowTo(), and DoCopyTo().

◆ queryDesc

QueryDesc* CopyToStateData::queryDesc

Definition at line 78 of file copyto.c.

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

◆ rel

Relation CopyToStateData::rel

Definition at line 77 of file copyto.c.

Referenced by BeginCopyTo(), and DoCopyTo().

◆ rowcontext

MemoryContext CopyToStateData::rowcontext

Definition at line 93 of file copyto.c.

Referenced by CopyOneRowTo(), and DoCopyTo().

◆ whereClause

Node* CopyToStateData::whereClause

Definition at line 85 of file copyto.c.


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