This patch wraps the DDL in a BEGIN...COMMIT (as suggested by Jim for
pg_freespacemap a while ago).
In addition I have amended the example queries to correctly project out
only relations in the current database (relations with the same name
from different databases were getting counted together).
Cheers
Mark