Jeffery Read <jread@picndel.com> writes:
> I am attempting to get a plpgsql function to work (the function is
> listed below and the server is psql 7.2.3) and I keep getting
> alternating errors.
I think you're hitting 7.2 bugs. If you can reproduce the misbehavior
in 7.3.4 then I'd be interested to see all the details ...
regards, tom lane