On 8/17/06 8:42 AM, "ben sewell" <mosherben(at)gmail(dot)com> wrote:
> Hi Sean,
> after some debugging of the error messages I managed to create the function
> without any errors. For the record type being returned, it is dependent on
> the report_id so I'll have to add the user defined type in the front end
> where I execute the procedure.
>
> Anyways, I've attached the working script for anyone who is curious to see
> what had to be sorted out. Now I just need to finish off the select
> statement in the first if and then finish it for the other 4 if's. :)
Ben,
Great to hear you got it working. Postgresql is pretty cool, eh?
Sean