Postgres User Defined Functions In Python With Examples