Forgot the self arg for pgsql functions.