Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDd4i-0004db-QL for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2016 20:07:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cDd4i-0002hz-DD for pgsql-general@arkaria.postgresql.org; Sun, 04 Dec 2016 20:07:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDd2P-0008TL-2c for pgsql-general@postgresql.org; Sun, 04 Dec 2016 20:05:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDd2M-0003zy-Go for pgsql-general@postgresql.org; Sun, 04 Dec 2016 20:05:27 +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 uB4K5PZl019400; Sun, 4 Dec 2016 15:05:25 -0500 From: Tom Lane To: Justin Pryzby cc: pgsql-general@postgresql.org Subject: Re: INSERT ON CONFLICT of "wide" table: target lists can have at most 1664 entries In-reply-to: <20161204163237.GA8030@telsasoft.com> References: <20161204163237.GA8030@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Sun, 04 Dec 2016 10:32:37 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19398.1480881925.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 04 Dec 2016 15:05:25 -0500 Message-ID: <19399.1480881925@sss.pgh.pa.us> X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Justin Pryzby writes: > I'm implementing unique indices to allow "upsert" (and pg_repack and..), = but > running into a problem when the table has >830 columns (we have some tabl= es > which are at the 1600 column limit, and have previously worked around that > limit using arrays or multiple tables). Yeah, this is a bug, but fortunately the fix is pretty trivial. See https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3Dda= 05d0ebc637a84ba41a172b32552557ebad199f regards, tom lane --=20 Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general