Update dbconnect.py - Postgres compatibility

PGSql does not accept a value for length ; add the "variant" option.