From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve vacuum error context handling.
Date: Wed, 01 Jul 2020 02:43:17 +0000
Message-ID: <E1jqSiT-00056o-O2@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a69e041d0c91759fb60ab52e7e21e3ec3752c69b
Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 123 ++++++++++++++++++++---------------
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 73 insertions(+), 51 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akapila@postgresql.org
Subject: Re: pgsql: Improve vacuum error context handling.
In-Reply-To: <E1jqSiT-00056o-O2@gemulon.postgresql.org>
References: <E1jqSiT-00056o-O2@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox