Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emrQw-0000CL-EW for pgsql-general@arkaria.postgresql.org; Sat, 17 Feb 2018 01:36:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emrQt-00078B-Gp for pgsql-general@arkaria.postgresql.org; Sat, 17 Feb 2018 01:36:55 +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 1emrQt-000780-9L for pgsql-general@lists.postgresql.org; Sat, 17 Feb 2018 01:36:55 +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.89) (envelope-from ) id 1emrQq-0007u9-1R for pgsql-general@postgresql.org; Sat, 17 Feb 2018 01:36:54 +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 w1H1amZc005615; Fri, 16 Feb 2018 20:36:48 -0500 From: Tom Lane To: "David G. Johnston" cc: Ken Tanzer , PG-General Mailing List Subject: Re: Any hope for more specific error message for "value too long..."? In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Fri, 16 Feb 2018 18:11:03 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5613.1518831408.1@sss.pgh.pa.us> Date: Fri, 16 Feb 2018 20:36:48 -0500 Message-ID: <5614.1518831408@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" writes: > I seem to recall a discussion a few years back but cannot find it searching > online. The one post I did find was from 6 years ago and I was the only > respondent and basically said the same or less than I am here. I dug in the archives and came across a crude POC hack here: https://www.postgresql.org/message-id/21693.1478376334@sss.pgh.pa.us At the time I didn't want to pursue it further because of Andres' pending work on redoing expression execution, but that's landed now. regards, tom lane