apartmentlist/pg_shrink — pull request #16 by quarterdome (2014-07-10 00:14:46+00:00)
Title: Adding a support for passing an additional where clause to filter propagation

The functionality added here is useful to limit subtable filtering propagation using some generic key. Currently it is possible to limit propagation only using `name = value` syntax: e.g. `type = 'Unit'`. This allows a more generic syntax: e.g. `rental_id like p%`.

In particular, it allows to fix a problem on Apartment List where propagation from Unit and Community to Favorites, leaves the table completely empty.

@kristjan @andyvb