"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:> Is it something to do with the return type being declared wrongly?
Yup. Make it return a useless '1' or 'true' or some such.
regards, tom lane