saltstack/salt — pull request #2514 by bclermont (2012-11-10 19:36:19+00:00)
Title: handle psql error

I was running postgres_user without runas argument.

psql was returning:

```
psql: FATAL: role "root" does not exist
```

and this code could not handle output without multiple lines