Finishing up postgres methods