Fix another postgres problem