Re: error context for vacuum to include block number - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: error context for vacuum to include block number
Date
Msg-id 20191206162325.GQ2082@telsasoft.com
Whole thread Raw
In response to error context for vacuum to include block number  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: error context for vacuum to include block number  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Find attached updated patch:
 . Use structure to include relation name.
 . Split into a separate patch rename of "StringInfoData buf".

2019-11-27 20:04:53.640 CST [14244] ERROR:  canceling statement due to statement timeout
2019-11-27 20:04:53.640 CST [14244] CONTEXT:  block 2314 of relation t
2019-11-27 20:04:53.640 CST [14244] STATEMENT:  vacuum t;

I tried to use BufferGetTag() to avoid using a 2ndary structure, but fails if
the buffer is not pinned.

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Why JIT speed improvement is so modest?
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Why JIT speed improvement is so modest?