modify postgresql driver