jgallagher/go-libpq — pull request #2 by happypancakerd (2014-09-04 11:57:09+00:00)
Title: Allow redirecting notice output from stderr to go routine

libpq is rather verbose, it dumps all sorts of messages to `stderr`. This pull request allows to override this behavior and send output to a go function instead.

By default, behavior stays as it is - notices go to `stderr`. More on that: http://www.postgresql.org/docs/9.1/static/libpq-notice-processing.html