Search Postgresql Archives

XML indexing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Im trying to use the xpath funtion to get xml text nodes with efficiency, than i created an index like :
=#create  index doc_idx on testxml using btree (((xpath('/book/id/text()', doc))[1]::text));
But the index is used just when i want xpath('/book/id/text()', doc). I want to get any 
text node from xml doc without having to index that path every time i query.
Do anyone knows how to index like that ? Tx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux