Can anyone help with this? I'm new to Postgre and plpgsql - but have
some experience of sql/plsql and Informix procedures.
I have converted an Informix procedure to plpgsql - and get the
following error when the function is executed:
NOTICE: plpgsql: ERROR during compile of proc_allowed near line 3
ERROR: parse error at or near "AS"
The procedure is attached.