Performance improvements for rp_filter and parameter: - improve performance of rp_filter (which is run on every non-resources request) significantly (often a factor of 2) - improve scalability by reducing number of required mutex locks (e.g. for secret token handling)
Fixed up the apm parameter stuff to the point where I can at least register and unregister, and cache values of, global parameters. There's some really funky code here, I also took the time to have the unregister code use the unregister API in PL/[pg]SQL rather than roll its own.