Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
> Is there any way to unload that library for test or, at least, execute set
> statement (set online_analyze.enable = off, actually) on test database before
> test run?
BTW, so far as that goes, make installcheck should honor PGOPTIONS,
so you should be able to pass in "-c online_analyze.enable = off".
There's a rather obsolete example in src/test/regress/regressplans.sh.
regards, tom lane