change postgresql import process