Plug in postgres stuff

interleaved with Travis crap.  whoops.