Sam Mason <sam(at)samason(dot)me(dot)uk> writes:
> However, I've just tried today and am getting some strange results. The
> strange results are that above a certain length PG says that it's put a
> string in OK but there's nothing there when I look back afterward.
I get "out of memory" complaints from psql when I try your test case.
regards, tom lane