It is not obvious that a function should be declared "RETURNS VOID" if it is not supposed to return a value. There's also a user-comment on the 8.1 doc-page. Joachim
pgsql-patches by date:
Соглашаюсь с условиями обработки персональных данных