Hadley Willan <hadley(dot)willan(at)deeper(dot)co(dot)nz> writes:
> I'm a bit of a newbie with Postgresql and PLPGSQL, and I can't seem to
> find in the docs how to do the following.
You're overthinking the problem ;-) ... assignment in plpgsql is just
unit_price := fn_conver.....
regards, tom lane