FOSSology  4.4.0
Open Source License Compliance by Open Source Software
sqlCopy_struct Struct Reference

#include <sqlCopy.h>

Collaboration diagram for sqlCopy_struct:
Collaboration graph

Public Attributes

PGconn * pGconn
 
char * TableName
 
char ColumnNames [1024]
 
int BufSize
 
int DataIdx
 
char * DataBuf
 

Detailed Description

fo_sqlCopy for batch copy (mass inserts)

Definition at line 25 of file sqlCopy.h.

Member Data Documentation

◆ BufSize

int sqlCopy_struct::BufSize

Number of bytes allocated to DataBuf

Definition at line 34 of file sqlCopy.h.

◆ ColumnNames

char sqlCopy_struct::ColumnNames[1024]

Comma separated list of column names

Definition at line 32 of file sqlCopy.h.

◆ DataIdx

int sqlCopy_struct::DataIdx

Index into DataBuf where the next data is added

Definition at line 36 of file sqlCopy.h.

◆ pGconn

PGconn* sqlCopy_struct::pGconn

Database connection

Definition at line 28 of file sqlCopy.h.

◆ TableName

char* sqlCopy_struct::TableName

Database table to copy (insert) into

Definition at line 30 of file sqlCopy.h.


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