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.92) (envelope-from ) id 1jHBpr-0007lj-TJ for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2020 19:37:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jHBpq-0002bl-JG for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2020 19:37:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jHBpq-0002be-64 for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2020 19:37:06 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jHBpj-0002GL-Ch for pgsql-hackers@postgresql.org; Wed, 25 Mar 2020 19:37:04 +0000 Received: by mail-qt1-x842.google.com with SMTP id t9so3257459qto.9 for ; Wed, 25 Mar 2020 12:36:59 -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=ePj+GbN7ybfaF0eGhLBLYe+kzGl2X+JYLH4BDODneZk=; b=RLO8BJaav0KyQNa6YHytTar8/0DLote3wlzAZGH/mL670TPeGKXvEOkp4lcqLm1msI bZgEb92JmGtFC70sN7XIWFjWdxzFRs6p/vBw3QCn5jsTEoUP/dZV1Ls8Q5F62GRIguHG KX44InzAF48G+CXW+dlErWYPZkEwbPWKahUj1oFkrN+fzpnjDuAjc5KvAE7ZVm+YJSaB TKqYjW1wPuoJ/CkEDqZzn5pSaS2L6g/0o+rcUzhAFeiJOqJ1MmBkPjNeM4a5FhlglpE0 qW9a7zA+5c1L1g9Sv0aZjaHAGUBOvGvbbCZSR+MaTLyLUVrNBf1r5wjfE7P5PdWUDxTZ uTBA== 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=ePj+GbN7ybfaF0eGhLBLYe+kzGl2X+JYLH4BDODneZk=; b=NUeRp3Vvv8vgBDdJp9hJCiNE7RoBRzC4mXSqU8cnnQlaHwt2ciSmPrJLD8Y7p7BpmU LkYf5HhXTed0iERCq03SCBfu0A/BOHPxIgKWqz8KEwU12cDOAoLrCoAL87KmzEJAMB3R na5dP5vUvPNojnjpgNLaTlgzjj+c7hHVoCPqq7tsoVg1ao1hYtxz4QugchblMUl+txsD A+MQhyVZwWaEO+QiL3L1dDODHGGYB2fpqj5/9+pwi53F9XAqRuxVqFO4uqSo+PcoNYMi V8wKWdLP25tTI47nX2UxLiYJtadJwBhNFyJkUbsdogUOWxuIbpxqMH9OqZET0odo28EL Xm5g== X-Gm-Message-State: ANhLgQ2W9X9TzDqpg5Vw9mnoej2F+YBxPmdX/iALRbYfIHwPzz4ot0S6 OpAH3BPFCS4jTxjfBpaYw2z+738zhyH2wA== X-Google-Smtp-Source: ADFU+vsyEVtKbzSusXqcOarIeuHY1MkDUakuq+XZKB9lDL3m2vJUR3g7hoOsPxKsGpeNBZuRB2Mpuw== X-Received: by 2002:ac8:44a5:: with SMTP id a5mr4682464qto.132.1585164612695; Wed, 25 Mar 2020 12:30:12 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id g25sm6640932qkm.121.2020.03.25.12.30.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 12:30:12 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 75EED300825; Wed, 25 Mar 2020 16:30:10 -0300 (-03) Date: Wed, 25 Mar 2020 16:30:10 -0300 From: Alvaro Herrera To: James Coleman Cc: Andres Freund , pgsql-hackers Subject: Re: [DOC] Document concurrent index builds waiting on each other Message-ID: <20200325193010.GA9684@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-25, James Coleman wrote: > Alvaro: I think you had some ideas on this too; any chance you've know > of a patch that anyone's got cooking? I posted this in November https://postgr.es/m/20191101203310.GA12239@alvherre.pgsql but I didn't put time to go through the issues there. I don't know if my approach is exactly what Andres has in mind, but I was discouraged by the number of gotchas for which the optimization I propose has to be turned off. Maybe that preliminary patch can serve as a discussion starter, if nothing else. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services