pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] WAL logging problem in 9.4.3?
Date: Tue, 17 Jul 2018 08:28:47 -0400
Message-ID: <3c1cf991-8846-9a6f-c669-e21f8ea9a6a4@2ndQuadrant.com> (raw)
In-Reply-To: <20180717000129.GA3388@paquier.xyz>
References: <20180105041040.GI2416@tamriel.snowman.net>
	<20180111.170355.123986255.horiguchi.kyotaro@lab.ntt.co.jp>
	<20180330.100646.86008470.horiguchi.kyotaro@lab.ntt.co.jp>
	<20180704045912.GG1672@paquier.xyz>
	<df32e286-ae2b-f45a-8f2e-4fa02684300b@iki.fi>
	<20180711033241.GQ1661@paquier.xyz>
	<aac8e19b-9159-e473-77be-53f80b658190@2ndQuadrant.com>
	<08b11907-d0b2-c396-2978-ba5aac1972df@iki.fi>
	<CA+TgmoZGn7MmMGRu4NkfxyXKSCzmvq1JvqsWm=hN=GJDMTfTKg@mail.gmail.com>
	<026AD6A1-3396-47F4-B87E-77E3F139D166@iki.fi>
	<20180717000129.GA3388@paquier.xyz>



On 07/16/2018 08:01 PM, Michael Paquier wrote:
>
>
> I doubt as well that we'd be able to catch all the holes as well as the
> conditions where the optimization could be run safely are rather
> basically impossible to catch beforehand.  I'd like to vote for getting
> rid of this optimization for COPY, this can hurt more than it is
> helpful.  Per the lack of complaints, this could happen only in HEAD?


Well, we'd be getting rid of it because of a danger of data loss which 
we can't otherwise mitigate. Maybe it does need to be backpatched, even 
if we haven't had complaints.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (244+ messages)  latest in thread

Message-ID: <3c1cf991-8846-9a6f-c669-e21f8ea9a6a4@2ndQuadrant.com>
Permalink:  ../3c1cf991-8846-9a6f-c669-e21f8ea9a6a4@2ndQuadrant.com/
Also on:    postgresql.org/message-id/3c1cf991-8846-9a6f-c669-e21f8ea9a6a4@2ndQuadrant.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, michael@paquier.xyz, hlinnaka@iki.fi, robertmhaas@gmail.com
  Subject: Re: [HACKERS] WAL logging problem in 9.4.3?
  In-Reply-To: <3c1cf991-8846-9a6f-c669-e21f8ea9a6a4@2ndQuadrant.com>

* 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