Обсуждение: Question about hstore

Поиск
Список
Период
Сортировка

Question about hstore

От
Ivan Pavlov
Дата:
I installed the hstore module (http://www.postgresql.org/docs/current/
static/hstore.html) because I have a situation where I prefer to use
hstore instead of XML.

Everything works great, but I saw that after installing the module I
actually have two new datatypes: hstore and ghstore. The last one is
not documented.

So my question is: what is the difference between hstore and ghstore?

Re: Question about hstore

От
Tom Lane
Дата:
Ivan Pavlov <ivan.pavlov@gmail.com> writes:
> So my question is: what is the difference between hstore and ghstore?

AFAICS ghstore is the storage type used in gist indexes for hstore
columns.  Presumably it's not documented because it's not useful
for user purposes.

            regards, tom lane