Add psycopg2 adaptation for asyncio.