release memory used while flushing logical mappings

Patch by Ants Aasma
docs:  clearify use of pg_database.datistemplate

Patch by Rajeev rastogi
build:  add EXTRA_REGRESS_OPTS to all pg_regress invocations

Patch by Christoph Berg