pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Ken Tanzer <ken.tanzer@gmail.com>
Cc: PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Any hope for more specific error message for "value too long..."?
Date: Fri, 16 Feb 2018 20:36:48 -0500
Message-ID: <5614.1518831408@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwZzkC3Z+sypWAaa6JUht5wKh7tjX-Kc2mRBSm8_1H-RCg@mail.gmail.com>
References: <CAD3a31WR8X1TpjR_MoZxuz4S0BO3ZkPAeLoQ9rPxKHG=728eoQ@mail.gmail.com>
	<CAKFQuwZzkC3Z+sypWAaa6JUht5wKh7tjX-Kc2mRBSm8_1H-RCg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> 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




view thread (7+ messages)  latest in thread

Message-ID: <5614.1518831408@sss.pgh.pa.us>
Permalink:  ../5614.1518831408@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5614.1518831408@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, ken.tanzer@gmail.com
  Subject: Re: Any hope for more specific error message for "value too long..."?
  In-Reply-To: <5614.1518831408@sss.pgh.pa.us>
  References: <CAD3a31WR8X1TpjR_MoZxuz4S0BO3ZkPAeLoQ9rPxKHG=728eoQ@mail.gmail.com> <CAKFQuwZzkC3Z+sypWAaa6JUht5wKh7tjX-Kc2mRBSm8_1H-RCg@mail.gmail.com> <5614.1518831408@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox