Fix some PostgreSQL specific code in import.py
Fix some PostgreSQL specific code in import.py

Gillingham/evething,cmptrgeekken/evething,cmptrgeekken/evething,cmptrgeekken/evething,madcowfred/evething,madcowfred/evething,madcowfred/evething,cmptrgeekken/evething,Gillingham/evething,madcowfred/evething,Gillingham/evething,cmptrgeekken/evething,Gillingham/evething