Re: Regex with > 32k different chars causes a backend crash
От | Tom Lane |
---|---|
Тема | Re: Regex with > 32k different chars causes a backend crash |
Дата | |
Msg-id | 15444.1365003663@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Regex with > 32k different chars causes a backend crash (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Ответы |
Re: Regex with > 32k different chars causes a backend crash
|
Список | pgsql-hackers |
Heikki Linnakangas <hlinnakangas@vmware.com> writes: > On 03.04.2013 18:21, Tom Lane wrote: >> Obviously Henry didn't think that far ahead. I agree that throwing >> an error is the best solution, and that widening "color" is probably >> not what we want to do. You want to fix that, or shall I? > I can do it. I assume that Tcl has the same bug, so I'll submit a report > there, too. Yes, definitely. It occurs to me that at some point it might be useful to convert "color" to unsigned short, so that you could have 64K of them --- but we'd still need the error check anyway, and there's no reason to tackle such a change today. (This possible change is, however, another reason to not want pg_trgm looking directly at the internals of the data structure...) regards, tom lane
В списке pgsql-hackers по дате отправления: