Re: error context for vacuum to include block number
Justin Pryzby <pryzby@telsasoft.com>
From: Justin Pryzby <pryzby@telsasoft.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>, Amit Kapila <amit.kapila16@gmail.com>, Andres Freund <andres@anarazel.de>, Michael Paquier <michael@paquier.xyz>, pgsql-hackers@postgresql.org
Date: 2020-03-26T23:33:21Z
Lists: pgsql-hackers
Attachments
On Thu, Mar 26, 2020 at 07:49:51PM -0300, Alvaro Herrera wrote: > > > ... So once we've "reverted back", 1) the pointer is null; and, 2) > > > the callback function doesn't access it for the previous/reverted > > > phase anyway. > > BTW I'm pretty sure this "revert back" phrasing is not good English -- > you should just use "revert". Maybe get some native speaker's opinion > on it. I'm a native speaker; "revert back" might be called redundant but I think it's common usage. > And speaking of language, I find the particle "cbarg" rather very ugly, > and it's *everywhere* -- function name, function argument, local > variable, enum values, enum name. It even spread to the typedefs.list > file! Is this a new virus??? Put some soap in it! Can't we use "info" > or "state" or something similar, less infectious, instead? I renamed it since it was kind of opaque looking. It's in all the same places, so equally infectious; but I hope you like it better. Cheers, -- Justin
Commits
-
Avoid calls to RelationGetRelationName() and RelationGetNamespace() in
- ef75140fe756 13.0 landed
-
Introduce vacuum errcontext to display additional information.
- b61d161c1463 13.0 landed
-
Fix mesurement of elapsed time during truncating heap in VACUUM.
- 007491979461 13.0 cited
-
Allow vacuum command to process indexes in parallel.
- 40d964ec997f 13.0 cited
-
Refactor code dedicated to index vacuuming in vacuumlazy.c
- 1ab41a3c8edc 13.0 landed
-
Remove duplicated progress reporting during heap scan of VACUUM
- e5a02e0fc68b 13.0 landed