And some other small fixes
cursor_factory
type: ignore
ConvertibleToInt
ConvertibleToFloat
psycopg2.sql.SQL.join