saltstack/salt — pull request #1778 by scott-w (2012-08-06 21:08:31+00:00)
Title: Develop

Put a partial fix in place for #1766. I have left the user_list function for now, as I don't know whether there are differences in the number of columns in the pg_roles table between versions of Postgres.

Perhaps the user_list function just lists the users? This would mean using SELECT rolname FROM pg_roles; and evading the column count issue altogether.