Postgresql Execute Function With Variables