adapter change postgresql