Re: possible repalloc() in icu_convert_case()

From: Anton Voloshin <a(dot)voloshin(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: possible repalloc() in icu_convert_case()
Date: 2021-04-04 18:09:33
Message-ID: 89faaa6f-1b80-a983-235a-f3173f834359@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-04-04 18:18:34 Re: ALTER TABLE ADD COLUMN fast default
Previous Message Tomas Vondra 2021-04-04 18:01:52 Re: Crash in BRIN minmax-multi indexes