add post psql type conversion