switched back to pure postgres