Re: possible repalloc() in icu_convert_case() - Mailing list pgsql-hackers

From Anton Voloshin
Subject Re: possible repalloc() in icu_convert_case()
Date
Msg-id 89faaa6f-1b80-a983-235a-f3173f834359@postgrespro.ru
Whole thread Raw
In response to Re: possible repalloc() in icu_convert_case()  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Crash in BRIN minmax-multi indexes
Next
From: Andrew Dunstan
Date:
Subject: Re: ALTER TABLE ADD COLUMN fast default