Hi everyone,
I have created a new data types using SQL in a database:score integer,
time integer[],
);
My question is: how can I convert that Datum value back to type1 data structure (in C code), so I can easily deal with score and time values?
typedef struct type1{
int score;
int *time;
} type1;
int *time;
} type1;
PS: I really don't want to deal with cstring to in order to get the score and time attributes.