postgresql helper for golang