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
 
CopyFormatOptions opts
 
NodewhereClause
 
MemoryContext copycontext
 
FmgrInfoout_functions
 
MemoryContext rowcontext
 
uint64 bytes_processed
 

Detailed Description

Definition at line 71 of file copyto.c.

Field Documentation

◆ attnumlist

List* CopyToStateData::attnumlist

Definition at line 85 of file copyto.c.

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

◆ bytes_processed

uint64 CopyToStateData::bytes_processed

Definition at line 99 of file copyto.c.

Referenced by BeginCopyTo(), and CopySendEndOfRow().

◆ copy_dest

CopyDest CopyToStateData::copy_dest

Definition at line 74 of file copyto.c.

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

◆ copy_file

FILE* CopyToStateData::copy_file

Definition at line 75 of file copyto.c.

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

◆ copycontext

MemoryContext CopyToStateData::copycontext

Definition at line 95 of file copyto.c.

Referenced by BeginCopyTo(), and EndCopy().

◆ encoding_embeds_ascii

bool CopyToStateData::encoding_embeds_ascii

Definition at line 80 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 78 of file copyto.c.

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

◆ filename

char* CopyToStateData::filename

Definition at line 86 of file copyto.c.

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

◆ is_program

bool CopyToStateData::is_program

Definition at line 87 of file copyto.c.

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

◆ need_transcoding

bool CopyToStateData::need_transcoding

Definition at line 79 of file copyto.c.

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

◆ opts

◆ out_functions

FmgrInfo* CopyToStateData::out_functions

Definition at line 97 of file copyto.c.

Referenced by CopyOneRowTo(), and DoCopyTo().

◆ queryDesc

QueryDesc* CopyToStateData::queryDesc

Definition at line 84 of file copyto.c.

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

◆ rel

Relation CopyToStateData::rel

Definition at line 83 of file copyto.c.

Referenced by BeginCopyTo(), and DoCopyTo().

◆ rowcontext

MemoryContext CopyToStateData::rowcontext

Definition at line 98 of file copyto.c.

Referenced by CopyOneRowTo(), and DoCopyTo().

◆ whereClause

Node* CopyToStateData::whereClause

Definition at line 90 of file copyto.c.


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