| От | Tom Lane |
|---|---|
| Тема | Re: Performance problem in textanycat/anytextcat |
| Дата | |
| Msg-id | 2350.1274025455@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Performance problem in textanycat/anytextcat (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Performance problem in textanycat/anytextcat
|
| Список | pgsql-hackers |
I wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>> Marking textanycat as not immutable would forbid using it in
>> expression indexes, too.
> True. On the other hand, the current state of affairs allows one to
> create an index on expressions that aren't really immutable, with
> ensuing hilarity.
It strikes me that we could avoid any possible functional regression
here by having CREATE INDEX perform expression preprocessing (in
particular, function inlining) before it tests to see if the index
expression contains any non-immutable functions.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера