Postgresql Function Variable Declaration In Python For All Selected Lines