mysql totally swapped with postgresql