under HASH_STATISTICS, the output reporting "this HTAB" upon destruction is pretty useless. Which HTAB would this one be? It is not necessarily the most recently created one.
This makes it output the %p to the actual HTAB, so it can be matched up with the logging of the creation.
I'm not sure why it bypasses elog. Is that so it can run during start-up before elog is active? I'd like to make it go through elog so that log_line_prefix are applied, but then it would no longer be a trivial patch.
Cheers,
Jeff