redefinitions:

  usage_count=$dbtypes[i].
  'i' => ( $wgDBtype == 'postgres' ? 'bigint' : 'INT(8)'.
   To solve unit test issues point in comment 20 of bug 42659.
    Following request in comment 23.