Passing table name as a parameter in psycopg2 Passing table name as a parameter in psycopg2 postgresql postgresql