This looks like a mapping that should be global. So it should stored as a map, and not as code that looks like a C `switch` statement. 

```
return pgTypeMap[ormType] || false;
```