Re: error context for vacuum to include block number
| От | Justin Pryzby |
|---|---|
| Тема | Re: error context for vacuum to include block number |
| Дата | |
| Msg-id | 20200325113917.GT21443@telsasoft.com обсуждение исходный текст |
| Ответ на | Re: error context for vacuum to include block number (Amit Kapila <amit.kapila16@gmail.com>) |
| Список | pgsql-hackers |
On Wed, Mar 25, 2020 at 04:54:41PM +0530, Amit Kapila wrote:
> On Wed, Mar 25, 2020 at 3:42 PM Justin Pryzby <pryzby@telsasoft.com> wrote:
> >
> > Attached patch addressing these.
> >
>
> Thanks, you forgot to remove the below declaration which I have
> removed in attached.
Yes I saw..
> Apart from this, I have ran pgindent and now I think it is in good
> shape. Do you have any other comments? Sawada-San, can you also
I did just notice/remember while testing trucate that autovacuum does this:
src/backend/postmaster/autovacuum.c: errcontext("automatic vacuum of table \"%s.%s.%s\"",
And that appears to be interacting correctly. For example if you add an
elog(ERROR) and run UPDATE/DELETE, and wait autovacuum_naptime, then it shows
both contexts.
--
Justin
В списке pgsql-hackers по дате отправления: