aweber/pgsql-listen-exchange — pull request #2 by simonmacmullen (2014-06-13 12:14:59+00:00)
Title: Remove unnecessary code about runtime parameters, remove breakage caused by use of rabbit_policy:validate/4

As far as I can see, the references to the rabbit_runtime_parameter behaviour in pgsql_listen_parameters are not needed since (according to the README at least) this plugin can be configured by policy, arguments or the config file, but not through parameters. (Which makes perfect sense.)

The code I have removed contains an invocation of rabbit_policy:validate/4. This has changed to a /5 in recent versions of RabbitMQ, which is how I noticed this. Removing it seems like the easiest fix.

Please note: I don't have a postgres server around so I HAVE NOT TESTED THIS. But it compiles at least :-)