I have a query regarding composite types (user-defined types). I have defined a type alongwith its input and output functions. But I am not able to access the type using my PL/pgSQL function. My type is as follows
typedef struct Sample
{
int nCtr1,
int nCtr2
} Sam;
If anyone has some clue about it please mail back.