more postgres adjustments