XML Index again

Поиск
Список
Период
Сортировка
От Chris Roffler
Тема XML Index again
Дата
Msg-id 3984722a1003070202obc32c63q44002a294af2e6f7@mail.gmail.com
обсуждение исходный текст
Ответы Re: XML Index again  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Список pgsql-general
I still have some problems with my xml index

CREATE INDEX xml_index
  ON time_series
  USING btree
  ((
  (xpath('/AttributeList/Attributes/Attribute/Name/text()', external_attributes))[1]::text));

When I run the following query the index is not used :

select id from time_series where  
array_upper(
(xpath('/AttributeList/Attributes/Attribute[Name="Attribute122021"]', external_attributes))
, 1) > 0

Any Idea on how to configure the index ?

Thanks
Chris



В списке pgsql-general по дате отправления:

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Avoiding duplicates (or at least marking them as such) in a "cumulative" transaction table.
Следующее
От: AI Rumman
Дата:
Сообщение: compare two schemas