> The easiest way to fix this seems like also the best way, instead of storing a
> boolean store the pointer to the release function.
OK, I like that better anyhow.
Hadn't thought about turning plugin off, but I can see the requirement
now your raise it.
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support