Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb8BA-00012w-Lv for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Feb 2017 15:59:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cb8BA-0005wt-9R for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Feb 2017 15:59:40 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cb8B9-0005vd-I4 for pgsql-hackers@postgresql.org; Tue, 07 Feb 2017 15:59:39 +0000 Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cb8B5-0005pL-U3 for pgsql-hackers@postgresql.org; Tue, 07 Feb 2017 15:59:38 +0000 Received: by mail-qk0-x229.google.com with SMTP id 11so92456487qkl.3 for ; Tue, 07 Feb 2017 07:59:35 -0800 (PST) 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=MYD8oS6LrUYqrvhycXXpZDARLwPhvGZ6pak6qYuBNw8=; b=OIwllQT/Wf0fwGzw5wjviikvQPmKWO1v707/p36AY49961MfomRenU88Z5Kg2mwiqL qsKVZhijKuqK4gjUO0o+sZoAlPrV9fvqNhdxWc9rGluSL0xFRjReVNnIiPwCMKLMuUxl s2mjAuVMC5YbzrcVx+Sr2XP9qAQltEhGVzLa/1XoJHl5HffjbfCZpzUmwQYdbU0rt0hP xTviW/SZz9bgzcB7fLihdgHmvR72L1T8Gire+henESfEtOoJUW8oFPpkJHInRxW4LSRx Wx4lyBv/6l756gkZXDsyMzNRf+A4YyTkkS9d2nmGp0x9klxTGSvN7F2v1zuxkEtdKe5D bSMQ== 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=MYD8oS6LrUYqrvhycXXpZDARLwPhvGZ6pak6qYuBNw8=; b=RE+9G4HVglx4bM4fESlH3vuFioGWgsX3h5z1MjGEW8f5iSFhqJRsXG1NIC5iFjtgNt UEad9ffUn8dWwlKUQaHQ7cFxLsmBpK+9BiYx9ikcmE+HXRBZgpd4K55zk3y2bBG/pjFd nI/YvsrrijbihfOWBwNKFaH44LeVrUJZxKXfOafLQxj1p85vOrKAycLIwdoxu076K0oA TLzR9s1H7UQvKH8fzKsG0gaweK5EXHZVgChXKfJjnLJBbOFg3+5K/aePsiOiHiIrulbw 9gVjV5MwwCM+M8ibOO5QG1oXlVKXk8E9xmexPt7QsE5tlbduW2YqjNypxtHi1RdB2m1n cVig== X-Gm-Message-State: AMke39nkobfHNThZE8T6ITY+etFfOUcJ5BD3t9nWURMQWuwrtvLbAGROvo22zA2cpJKRhcND X-Received: by 10.55.17.27 with SMTP id b27mr17024066qkh.200.1486483174064; Tue, 07 Feb 2017 07:59:34 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id m30sm3688099qtg.10.2017.02.07.07.59.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 07:59:33 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7AABAD32; Tue, 7 Feb 2017 12:59:31 -0300 (CLST) Date: Tue, 7 Feb 2017 12:59:31 -0300 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@postgresql.org, pavan.deolasee@gmail.com Subject: Re: [COMMITTERS] pgsql: Release note updates. Message-ID: <20170207155931.vgzv5umuyfvp4bqz@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170207152309.szeiqnprt2kzij66@alvherre.pgsql> User-Agent: NeoMutt/20170113 (1.7.2) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera wrote: > Tom Lane wrote: > > Alvaro Herrera writes: > > > > May I suggest > > > > > + If CREATE INDEX CONCURRENTLY was used to build an index > > > + that depends on a column not previously indexed, then rows > > > + updated by transactions that ran concurrently with > > > + the CREATE INDEX command could have missed receiving > > > + index entries. > > > > Can we say "pre-existing rows that were updated by...", or is that > > too optimistic? > > Hmm. Now that I think about it, it is probably possible to have a > transaction started before CIC that inserted a bunch of rows, and then > runs the UPDATE during the CIC race window. Maybe there's a reason the > bug wouldn't hit in that case but I don't see it, and I'm not able to > test it right now to verify. Pavan adds that it's possible to have a transaction do INSERT while CIC is running, then some other transaction executes the UPDATE. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers