trivial patch for dynahash logging - Mailing list pgsql-hackers

From Jeff Janes
Subject trivial patch for dynahash logging
Date
Msg-id CAMkU=1xAr8GOmRtkpWkGtWkR=cnDj9KtQPP5-5sFt4wz2fdEAQ@mail.gmail.com
Whole thread Raw
Responses Re: trivial patch for dynahash logging  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

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
Attachment

pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: pgcrypto: PGP armor headers
Next
From: Tom Lane
Date:
Subject: Re: trivial patch for dynahash logging