From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Andres Freund <andres(at)anarazel(dot)de> |
Subject: | Re: error context for vacuum to include block number |
Date: | 2019-12-06 16:23:25 |
Message-ID: | 20191206162325.GQ2082@telsasoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
v2-0001-vacuum-errcontext-to-show-block-being-processed.patch | text/x-diff | 3.6 KB |
v2-0002-Rename-buf-to-avoid-shadowing-buf-of-another-type.patch | text/x-diff | 2.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Konstantin Knizhnik | 2019-12-06 16:52:15 | Re: Why JIT speed improvement is so modest? |
Previous Message | Robert Haas | 2019-12-06 15:53:44 | Re: Why JIT speed improvement is so modest? |