pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Generalize parallel slot result handling.
Date: Fri, 05 Feb 2021 21:09:06 +0000
Message-ID: <E1l88Li-0001hy-OK@gemulon.postgresql.org> (raw)

Generalize parallel slot result handling.

Instead of having a hard-coded behavior that we ignore missing
tables and report all other errors, let the caller decide what
to do by setting a callback.

Mark Dilger, reviewed and somewhat revised by me. The larger patch
series of which this is a part has also had review from Peter
Geoghegan, Andres Freund, Álvaro Herrera, Michael Paquier, and Amul
Sul, but I don't know whether any of them have reviewed this bit
specifically.

Discussion: http://postgr.es/m/12ED3DA8-25F0-4B68-937D-D907CFBF08E7@enterprisedb.com
Discussion: http://postgr.es/m/5F743835-3399-419C-8324-2D424237E999@enterprisedb.com
Discussion: http://postgr.es/m/70655DF3-33CE-4527-9A4D-DDEB582B6BA0@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/418611c84d004f45d92bcaa3f8e100385d96cd41

Modified Files
--------------
src/bin/scripts/reindexdb.c          |  1 +
src/bin/scripts/vacuumdb.c           |  1 +
src/fe_utils/parallel_slot.c         | 91 +++++++++++++++++++++++++-----------
src/include/fe_utils/parallel_slot.h | 29 ++++++++++++
4 files changed, 94 insertions(+), 28 deletions(-)



Message-ID: <E1l88Li-0001hy-OK@gemulon.postgresql.org>
Permalink:  ../E1l88Li-0001hy-OK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1l88Li-0001hy-OK@gemulon.postgresql.org

 · 

reply

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: rhaas@postgresql.org
  Subject: Re: pgsql: Generalize parallel slot result handling.
  In-Reply-To: <E1l88Li-0001hy-OK@gemulon.postgresql.org>
  References: <E1l88Li-0001hy-OK@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