Add some stuff for postgresql