pgsql call function in query code example Example: call stored function postgres SELECT my_function();