pgsql is telling me /-- END has a sintax error,
just to confirm, is it okay if i get rid of that line?
I think you should be fine removing this, as if I re-call I haven't seen something like this in PLPSQL functions myself
Shoaib Mir
http://shoaibmir.wordpress.com/