ansible/ansible — pull request #1739 by elventear (2012-12-06 21:55:33+00:00)
Title: postgresql_user breaks for any PG version under 9.1

The last stable iteration of the module checks for some columns that were added to version 9.1 for the users table. If the columns are not available, the module crashes.

Instead of checking for a specific column, we check all the columns, given that any change in any of the columns signals a user modification on the database. By avoiding checking a specific column, the module logic is not version specific.