]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve vacuum error context handling.
authorAmit Kapila <akapila@postgresql.org>
Wed, 1 Jul 2020 02:36:00 +0000 (08:06 +0530)
committerAmit Kapila <akapila@postgresql.org>
Wed, 1 Jul 2020 02:36:00 +0000 (08:06 +0530)
commit83fa48c8cd26c9a8171a85e786bb6ae1c5b04139
treea753b8fb8d0cb4f80c75808179b65a50b34e5a09
parent48d50ee9aff9be0817a175418e100b7d7fa55a0f
Improve vacuum error context handling.

Use separate functions to save and restore error context information as
that made code easier to understand.  Also, make it clear that the index
information required for error context is sane.

Author: Andres Freund, Justin Pryzby, Amit Kapila
Backpatch-through: 13, where it was introduced
Discussion: https://postgr.es/m/CAA4eK1LWo+v1OWu=Sky27GTGSCuOmr7iaURNbc5xz6jO+SaPeA@mail.gmail.com
src/backend/access/heap/vacuumlazy.c
src/tools/pgindent/typedefs.list