Giacomo Cariello <jwk(at)bug(dot)it> writes:
> Using repalloc in some functions in a shared library I load, the effect is
> not the desidered one: the allocated area gets overwritten and causes
> segfault once the function returns or calls SPI_finish()
The odds that this is a bug in repalloc, and not in your own code, are
nil.
regards, tom lane