Postgresql Execute Function Example