Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0bNf-0007dg-2E for pgsql-committers@arkaria.postgresql.org; Wed, 11 May 2016 21:09:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0bNe-00043I-Kt for pgsql-committers@arkaria.postgresql.org; Wed, 11 May 2016 21:09:18 +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 1b0bNe-00043B-8X for pgsql-committers@postgresql.org; Wed, 11 May 2016 21:09:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0bNa-0001pv-En for pgsql-committers@postgresql.org; Wed, 11 May 2016 21:09:17 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4BL90Fi007491; Wed, 11 May 2016 17:09:00 -0400 From: Tom Lane To: Alvaro Herrera cc: Peter Geoghegan , pgsql-committers Subject: Re: pgsql: Fix assorted missing infrastructure for ON CONFLICT. In-reply-to: <20160511205459.GA711110@alvherre.pgsql> References: <20160511205459.GA711110@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 11 May 2016 17:54:59 -0300" Date: Wed, 11 May 2016 17:09:00 -0400 Message-ID: <7490.1463000940@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Alvaro Herrera writes: > Peter Geoghegan wrote: >> What does this mean? >> >> + /* XXX broken */ >> if (attno < 0) >> elog(ERROR, "system column in index"); > My guess is that it means we do support indexes in system columns (oid > in particular) and that instead of an ugly error this should do > something else. Maybe silently ignore the index. I left that for a second patch, which is now pushed. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers