Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbG7J-0006kq-8a for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Feb 2017 00:28:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cbG7I-0007Nn-PB for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Feb 2017 00:28:12 +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 1cbFq3-000143-V4 for pgsql-bugs@postgresql.org; Wed, 08 Feb 2017 00:10:24 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cbFpv-0007TR-Sh for pgsql-bugs@postgresql.org; Wed, 08 Feb 2017 00:10:22 +0000 Received: by mail-wr0-x244.google.com with SMTP id o16so6978113wra.2 for ; Tue, 07 Feb 2017 16:10:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mXET/5VAYHqPp5pVGyE+Aa8OWd2NGbfIeNg5w7f+pmo=; b=QCLYlvws2FT8hw50SecdOP77p7QnCLKpsRhGWm6NzIYRAm71dMRWu3My0wVYSMU6SR jn6Pvit44TrXzOEAWRMLx/OCC8Dvh2xLAJb+DFt/fUVZTaBfY6Oenp5QavmNR3+AlFeS jSApbBSXJAGnv7Ul7V+Tsgk2fIOL1FaavHfGDU7uu5AJGV2elNlKDuOzGP9KW/6TyvmG hEGdlmziG6lFdImF6M5RLLlwqqZIjf76uIWUAvuKLZvWrFUNNlFnWEaHP9/msRaofH8n Zo0n1LEl3UfX5ju8IJK2xXSIeCbZfV8jsbfCX3wddpyotNdNpRjv0GgNX+IADPR9L4vs 6KCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mXET/5VAYHqPp5pVGyE+Aa8OWd2NGbfIeNg5w7f+pmo=; b=WkqAgxhvaaPEaWLHjG0Pk2J0CX4o4eJlJB0VfV/fNcaCrHRGqbDTPmKTfwW5RlJdVn PQUcZHoFqdpo71Xs6i2ffv1edwEtytjyxP+ho9mT2t3MZ3YuYEHR4u3AiaWohzZb+/dp wpCvs1zxj5J5vU/rRvbh4rCBEke0TAzGKebUowbvs2bMSQ4pz7Pru2z0teO/BwEpzXW+ FewQwijQbki1dt2eCwVeAJGGWUpNYBqCEe/zvnNe4yMQowR9simDxW7OAajuXvGqzfje Vw13r/vhZ/jIChGmCMYVfvr2Mp0Orm3cJ6dNpQL3Ah4UBzUvZcW82UKM/tadfSnMfnq5 Xg3A== X-Gm-Message-State: AIkVDXJI9F8x3aj3/prRyGUztscVhXaQIyRZS4dyxbC7zv7PTZdI8x76x3vM96bSDZtHiw== X-Received: by 10.223.146.39 with SMTP id 36mr16519154wrj.85.1486512614830; Tue, 07 Feb 2017 16:10:14 -0800 (PST) Received: from [192.168.0.101] (a109-51-13-153.cpe.netcabo.pt. [109.51.13.153]) by smtp.gmail.com with ESMTPSA id o70sm9927456wrc.20.2017.02.07.16.10.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 16:10:13 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: BUG #14526: no unique or exclusion constraint matching the ON CONFLICT From: Tiago Babo X-Mailer: iPhone Mail (14D27) In-Reply-To: <31551.1486512248@sss.pgh.pa.us> Date: Wed, 8 Feb 2017 00:10:13 +0000 Cc: Peter Geoghegan , pgsql-bugs@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: <509A8E2B-EB71-4AD4-A88D-FCC43210D6A4@gmail.com> References: <20170202140701.1401.31196@wrigleys.postgresql.org> <166D0A9D-162D-4216-9490-3163533166C1@gmail.com> <14575.1486493671@sss.pgh.pa.us> <499844AD-291B-40F5-9892-E5591736FD2E@gmail.com> <22106.1486500247@sss.pgh.pa.us> <31551.1486512248@sss.pgh.pa.us> To: Tom Lane X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org No, I'm not doing that. The index was just created once. > On 8 Feb 2017, at 00:04, Tom Lane wrote: > > Tiago Babo writes: >> I don't really understand how PostgreSQL handles indexes, but would it be >> possible that the INDEX is being used/updated at that moment and so the >> INSERT doesn't know it exists? Can concurrency also be a problem? > > Data activity shouldn't matter. If you're dropping and recreating the > whole index, that could matter. > > regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs