putting to & getting from postgresql is working