postgres implementation updates