On fre, 2011-09-02 at 19:49 -0400, Tom Lane wrote:
> The only one that's problematic is pg_regress.so; contrib modules are
> already installed in $libdir. I still think that installing
> pg_regress.so in $libdir may be the most reasonable solution, assuming
> that the delta involved isn't too great. Yeah, we would have to
> back-patch the changes into every release branch we want to test
> upgrading from, but how risky is that really? The *only* thing it
> affects is the regression tests.
Or maybe make use of dynamic_library_path.