puppetlabs/puppetlabs-postgresql — pull request #333 by brandonwamboldt (2013-12-20 17:13:52+00:00)
Title: Fix NOREPLICATION option for Postgres 9.1

Fixing a bug when using this module with Postgresql 9.1 that causes alter role statements to execute during every apply.

If replication is disabled, the module is supposed to alter the role to set `NOREPLICATION`, however, `$replication_sql` is set to an empty string by default to avoid breaking on pre 9.1 installs.