| От | Bruno Wolff III |
|---|---|
| Тема | Re: Adding Indexes to Functions |
| Дата | |
| Msg-id | 20031006143343.GA26432@wolff.to обсуждение исходный текст |
| Ответ на | Adding Indexes to Functions (Jeff MacDonald <info@bignose.ca>) |
| Список | pgsql-general |
On Mon, Oct 06, 2003 at 11:15:06 -0300, Jeff MacDonald <info@bignose.ca> wrote: > Hi, > > I have a table, where one of the columns "extradata" is a gob of XML. > I'd like to be able to create an index on this function.. so i tried > this > > > CREATE INDEX actitemsXML_idx ON act_items > (pgxml_xpath(extradata,'//RequestInfo/refund_id/text()','','')); I don't think that you can create indexes on functions that had expressions or constants for parameter values in 7.3 and earlier. You might want to try this with the 7.4 beta and see if it works there. There will probably be a 7.4 release candidate this week, so you may be able to consider 7.4 for production soon.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера