FOSSology  3.2.0rc1
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 36 of file sqlCopy.h.

Member Data Documentation

int sqlCopy_struct::BufSize

Number of bytes allocated to DataBuf

Definition at line 45 of file sqlCopy.h.

char sqlCopy_struct::ColumnNames[1024]

Comma separated list of column names

Definition at line 43 of file sqlCopy.h.

int sqlCopy_struct::DataIdx

Index into DataBuf where the next data is added

Definition at line 47 of file sqlCopy.h.

PGconn* sqlCopy_struct::pGconn

Database connection

Definition at line 39 of file sqlCopy.h.

char* sqlCopy_struct::TableName

Database table to copy (insert) into

Definition at line 41 of file sqlCopy.h.


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