postgres select from function parameter code example Example: call stored function postgres SELECT my_function();