Joe Conway <mail@joeconway.com> writes:
> Kjetil Haaland wrote:
>> Is there any good reason it should work with integers and not with characters?
> Not sure -- sheer luck ;-)
Maybe it's a memory clobber, like writing one more array position than
you actually allocated? Check your address and sizing arithmetic.
regards, tom lane