David, from what I can see of the docs, for 9.6 it is PROCEDURE. It seems FUNCTION didn't appear until 11.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных