src: use nobuffering
lib: backout postgres removal