Missed a piece of code from postgresql removal