Re: 7.4 Wishlist

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: 7.4 Wishlist
Дата
Msg-id 096101c297ff$85bfcf30$6500a8c0@internal
обсуждение исходный текст
Ответ на 7.4 Wishlist  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: 7.4 Wishlist
Список pgsql-hackers
Wow Hannu - your list puts mine to shame!

> "Application server support"
> ----------------------------
> * better XML integration
>
>   - XML(*) aggregate function returning XML representation of subquery
>
>   - XML input/output to/from tables
>
>   - XML searchable/indexable in fields)

I've had thoughts about XML too.  Since XML is hierachical, imagine being
able to index xml using contrib/ltree or something!

ie. We create a new 'xml' column type.

We create a new indexing scheme for it based on ltree & gist.

You index the xml column.

Then you can do sort of XPath queries:

SELECT * FROM requests WHERE xml_xpath('/request/owner/name', datafield) =
'Bob';

And it would be indexed.  Imaging being able to pull up all XML documents
that had certain properties, etc.

MS-SQL has a SELECT ... FOR XML clause, but we could always just create
function called xml_select() or something now that we can return recordsets.

Chris



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

Предыдущее
От: Daniele Orlandi
Дата:
Сообщение: Re: 7.4 Wishlist
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Postgres 7.3 announcement on postgresql.org