hi, I was writing my own data type, and, I have to write aggregare function like min() and max() for my datatype. I googled for the user defined aggregate functions, but I could not find any examples for the sfunc and ffunc. Can any of you provide me the source/structure in C or SQL for these two functions of min or max or avg etc? for a complex type as given in the examples. Thanks, subhash.
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly