add postgres histogram post