From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat
Date: Wed, 25 May 2016 00:15:57 -0400
Message-ID: <3149.1464149757@sss.pgh.pa.us> (raw)
In-Reply-To: <20160525.130137.175160263.horiguchi.kyotaro@lab.ntt.co.jp>
References: <2458.1450894615@sss.pgh.pa.us>
<24048.1463265913@sss.pgh.pa.us>
<1336.1464025230@sss.pgh.pa.us>
<20160525.130137.175160263.horiguchi.kyotaro@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> writes:
> Shouldn't archive_close_connection have an assertion (si->AHX !=
> NULL) instead of checking "if (si->AHX)" in each path?
I thought about that but didn't see any really good argument for it.
It'd be making that function dependent on the current behavior of
unrelated code, when it doesn't need to be.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, horiguchi.kyotaro@lab.ntt.co.jp
Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat
In-Reply-To: <3149.1464149757@sss.pgh.pa.us>
References: <2458.1450894615@sss.pgh.pa.us> <24048.1463265913@sss.pgh.pa.us> <1336.1464025230@sss.pgh.pa.us> <20160525.130137.175160263.horiguchi.kyotaro@lab.ntt.co.jp> <3149.1464149757@sss.pgh.pa.us>
* 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