green psycopg2 and small features