Postgresql Execute Function With Array