repair PostgresSQL for bit data type