14 #ifndef COPYFROM_INTERNAL_H
15 #define COPYFROM_INTERNAL_H
157 #define INPUT_BUF_SIZE 65536
164 #define INPUT_BUF_BYTES(cstate) ((cstate)->input_buf_len - (cstate)->input_buf_index)
171 #define RAW_BUF_SIZE 65536
178 #define RAW_BUF_BYTES(cstate) ((cstate)->raw_buf_len - (cstate)->raw_buf_index)
struct CopyFromStateData CopyFromStateData
void ReceiveCopyBinaryHeader(CopyFromState cstate)
void ReceiveCopyBegin(CopyFromState cstate)
int(* copy_data_source_cb)(void *outbuf, int minread, int maxread)
copy_data_source_cb data_source_cb
StringInfoData attribute_buf
bool * convert_select_flags
TransitionCaptureState * transition_capture
MemoryContext copycontext
ErrorSaveContext * escontext