Robert Haas <robertmhaas@gmail.com> writes:
> Yeah, you're right. So you do get the table name. But you don't get
> the cause, which is what you really need to understand why it's
> happening. Attached is a patch that adds some more detail.
Uh, what's the added dependency on pgstat.h for? Looks sane to the
eyeball otherwise.
regards, tom lane