12 #ifndef ROOT_TPgSQLStatement 13 #define ROOT_TPgSQLStatement 18 #include <pg_config.h> 23 #define pgsql_success(x) (((x) == PGRES_EMPTY_QUERY) \ 24 || ((x) == PGRES_COMMAND_OK) \ 25 || ((x) == PGRES_TUPLES_OK)) 50 Bool_t SetSQLParamType(
Int_t npar,
int sqltype,
bool sig,
int sqlsize = 0);
52 long double ConvertToNumeric(
Int_t npar);
53 const char *ConvertToString(
Int_t npar);
56 void SetBuffersNumber(
Int_t n);
67 virtual Int_t GetNumParameters();
84 virtual Bool_t NextIteration();
87 virtual Int_t GetNumAffectedRows();
89 virtual Bool_t StoreResult();
90 virtual Int_t GetNumFields();
91 virtual const char *GetFieldName(
Int_t nfield);
92 virtual Bool_t NextResultRow();
101 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)