Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC7qF-0003iT-Ke for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2019 19:16:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hC7qD-00011y-Um for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Apr 2019 19:16:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC7qD-00011r-In for pgsql-hackers@lists.postgresql.org; Thu, 04 Apr 2019 19:16:01 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC7qA-0002JJ-Jl for pgsql-hackers@postgresql.org; Thu, 04 Apr 2019 19:16:01 +0000 Received: by mail-qt1-x842.google.com with SMTP id k14so4663882qtb.0 for ; Thu, 04 Apr 2019 12:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=rP30lj1fgaJHMCicZSTFUAqbAcLHO/SbBLeD1Ol85jY=; b=Mimy4tX9yU0t0PyvJ4E5jovRG30DzGze2c16YcMDOUVDmeckeHKLpFOylknfKvw97n wVMstDCrzIxZcQqezZ8hyMeQPVlY8x85h0KK8cLKCeSalAQYLhz12xLvQ7P+tb/VsVHf cu1gH1VMSpbw2KLUAYsn1y33iCq2TrGeyBysgS/bC2ocEoqF2MK026C9lCmpC0XQjl97 yuR/E87BBdDH0ojUAT1jWs2y/Z2KwCCfFIAXlZhaP+/OTbQq+4EYkTuFzeSbNvVLGUR9 hKv05MBun0hy4I/tyEKy2kPMEpJXZHI+glx0KNCL3FcUv6pYttOibfpvvrAUIdSbMlUT TyYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rP30lj1fgaJHMCicZSTFUAqbAcLHO/SbBLeD1Ol85jY=; b=NwSQaguti96+1QMPT3q0SOfZIldSTddAKS2JXk49aVbprvemJ6POls3aDAzCGGCVU0 ylWSF5Xd5UqV4xtvTbfH/nc4mypmypyhXgV4YM1ZkJ+VNNbOYRScBMKjrhJzFpIHFhkC QWmFbRkiX8MWmf0A2KhKQ9FFuXm/8ZBlQVQ4mzDEX7krsnhiba8m25xG+X6WqS1HOR3b 9ZIv2ZEbUvcqujTKtNKM0PLm9P5k4QPf7tm5HgAqV6j02rq7AW52RklA0b9JUnbX9gq4 rn7O9a1+8h6tczbjSRbNWksBgJnHQVIn3l3Ii5Ck7qWscZXEzbIxRPiAim/f9biDPvuB UuPQ== X-Gm-Message-State: APjAAAWb62mFHuD416cTITjGailnfFrsYJ5+1RN9bWZTx79TjM2NjGYz tErP0TNLSRxPuZMVtcSQoOpYCQ== X-Google-Smtp-Source: APXvYqzRPr8faKJTKeMbl0xbuh8D2Gm3Nkdg8WZ9RHKhx3hf04D1kn5aTxQQd0kKvdfRL7RSjcNtuQ== X-Received: by 2002:a0c:d2fc:: with SMTP id x57mr6522528qvh.214.1554405356747; Thu, 04 Apr 2019 12:15:56 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id j5sm12286157qtb.30.2019.04.04.12.15.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2019 12:15:56 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 848AD120F3B; Thu, 4 Apr 2019 16:15:54 -0300 (-03) Date: Thu, 4 Apr 2019 16:15:54 -0300 From: Alvaro Herrera To: Andres Freund Cc: Pavan Deolasee , Masahiko Sawada , pgsql-hackers , Jeff Janes , Simon Riggs , Tomas Vondra Subject: Re: COPY FREEZE and setting PD_ALL_VISIBLE/visibility map bits Message-ID: <20190404191554.GA7161@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190404172417.gua2xmn754uoxzto@alap3.anarazel.de> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Apr-04, Andres Freund wrote: > I'm totally not OK with this from a layering > POV. CheckAndSetAllVisibleBulkInsertState is entirely heap specific > (without being named such), whereas all the heap specific bits are > getting moved below tableam. This is a fair complaint, but on the other hand the COPY changes for table AM are still being developed, so there's no ground on which to rebase this patch. Do you have a timeline on getting the COPY one committed? I think it's fair to ask the RMT for an exceptional extension of a couple of working days for this patch. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services