Psycopg: get query size I would like to get size of a query before actually performing it with psycopg but I keep hitting