On 04.04.2021 19:20, Tom Lane wrote:
repalloc is likely to be more expensive, since it implies copying data which isn't helpful here. I think this code is fine as-is.
Oh, you are right, thanks. I did not think properly about copying in repalloc.
-- Anton Voloshin Postgres Professional: https://www.postgrespro.com Russian Postgres Company