On 2015-07-07 16:25:13 +0100, Simon Riggs wrote:
> I don't think pg_freespacemap is the right place.
I agree that pg_freespacemap sounds like an odd location.
> I'd prefer to add that as a single function into core, so we can write
> formal tests.
With the advent of src/test/modules it's not really a prerequisite for
things to be builtin to be testable. I think there's fair arguments for
moving stuff like pg_stattuple, pg_freespacemap, pg_buffercache into
core at some point, but that's probably a separate discussion.
Regards,
Andres