choplin/fluent-plugin-pgjson — pull request #2 by glenebob (2013-07-21 23:36:37+00:00)
Title: Connect to DB on demand, not on start.

Don't kill daemon on DB errors
Close DB connection on any error, allowing it to be re-connected on next attempt.
Re-raise whatever exception is raised by PGconn; more informative.