12 #ifndef ROOT_TPgSQLStatement 13 #define ROOT_TPgSQLStatement 15 #ifndef ROOT_TSQLStatement 20 #include <pg_config.h> 25 #define pgsql_success(x) (((x) == PGRES_EMPTY_QUERY) \ 26 || ((x) == PGRES_COMMAND_OK) \ 27 || ((x) == PGRES_TUPLES_OK)) 52 Bool_t SetSQLParamType(
Int_t npar,
int sqltype,
bool sig,
int sqlsize = 0);
54 long double ConvertToNumeric(
Int_t npar);
55 const char *ConvertToString(
Int_t npar);
58 void SetBuffersNumber(
Int_t n);
69 virtual Int_t GetNumParameters();
86 virtual Bool_t NextIteration();
89 virtual Int_t GetNumAffectedRows();
91 virtual Bool_t StoreResult();
92 virtual Int_t GetNumFields();
93 virtual const char *GetFieldName(
Int_t nfield);
94 virtual Bool_t NextResultRow();
103 virtual const char *GetString(
Int_t npar);
Int_t fWorkingMode
array of column names
int * fParamFormats
length of column
Int_t fIterationCount
1 - setting parameters, 2 - retrieving results
char ** fBind
number of statement parameters
char ** fFieldName
array of data for input
#define ClassDef(name, id)
Int_t fNumBuffers
executed statement
virtual Int_t GetBufferLength() const
Bool_t IsSetParsMode() const
int * fParamLengths
number of iteration
unsigned long long ULong64_t
Bool_t IsResultSetMode() const
Int_t fNumResultRows
data type (OID)