On Mon, Nov 14, 2011 at 7:04 PM, Josh Kupershmidt <schmiddy(at)gmail(dot)com> wrote:
> But it reminded me of another issue. With OS X 10.6.8, and otool -L
> reporting that psql depends on libedit version 2.11.0, the up-arrow
> recall of Tomas' query gets truncated around here:
> 5I0/NTm+fFkB0McY9E2fAA [rest of the line missing]
For the curious, this does appear to be a hardcoded limit in libedit.
A bit of digging through a tarball of libedit-20110802-3.0 turned up
this line in el.h:
#define EL_BUFSIZ ((size_t)1024) /* Maximum line size */
which you can bump up as a work-around.
Josh