Python Postgresql Query Parameters, The table name has to be passed as a parameter.