call postgres function from outside of postgres code example Example: call stored function postgres SELECT my_function();