saltstack/salt — pull request #2465 by jonasvp (2012-11-06 14:52:45+00:00)
Title: Postgres fails if username is the empty string

This could be a side effect of 351b5b6, where config.option
was introduced. Since we don't need to pass in the empty string
anyway, a simple "if" should be fine.

For the record: the error thrown by Postgres is

psql: FATAL: no PostgreSQL user name specified in startup packet