pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: When restoring GUCs in parallel workers, show an error context.
Date: Thu, 17 Oct 2019 01:07:12 +0000
Message-ID: <E1iKuG0-0001Dr-IC@gemulon.postgresql.org> (raw)

When restoring GUCs in parallel workers, show an error context.

Otherwise it can be hard to see where an error is coming from, when
the parallel worker sets all the GUCs that it received from the
leader.  Bug #15726.  Back-patch to 9.5, where RestoreGUCState()
appeared.

Reported-by: Tiago Anastacio
Reviewed-by: Daniel Gustafsson, Tom Lane
Discussion: https://postgr.es/m/15726-6d67e4fa14f027b3%40postgresql.org

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cdbb3921308ec71e7d090b734a1c8c0bf3269088

Modified Files
--------------
src/backend/utils/misc/guc.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)



view thread (6+ messages)

Message-ID: <E1iKuG0-0001Dr-IC@gemulon.postgresql.org>
Permalink:  ../E1iKuG0-0001Dr-IC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iKuG0-0001Dr-IC@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: tmunro@postgresql.org
  Subject: Re: pgsql: When restoring GUCs in parallel workers, show an error context.
  In-Reply-To: <E1iKuG0-0001Dr-IC@gemulon.postgresql.org>
  References: <E1iKuG0-0001Dr-IC@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