Postgresql Execute Function With And Without Arguments In Python