Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation
Date
Msg-id CAH2-Wzn9jjv22x-Vto-5xo_YJNuMWid0xuOGMcN+LYSXRk-PPA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation
List pgsql-bugs
On Sat, Aug 13, 2022 at 8:21 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Hmm, but if we're enlarging the buffer, doesn't that imply
> a new input value?  Seems like invalidation must occur anyway.

Yeah, on second thought it should be invalidated anyway (I had to
check because the details of how we cache strxfrm() and strcoll() are
tricky). Even still, I think that we should just use repalloc for
this.

--
Peter Geoghegan



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation
Next
From: Tom Lane
Date:
Subject: Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation