Обсуждение: building GIST indexes on Complex data type

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

building GIST indexes on Complex data type

От
Mogin Mohandas
Дата:
Hi all
            I ran the eg code under src/tutorial and also ran the sql functions to create a new data type called COMPLEX in Postgres. Now I want to make a GIST index on complex. I just changed the code slightly by replacing the data type to complex in one of the files which had code for creating a GIST index on a built-in data type. When I compile it gives errors such as:
  Parse error before Complex...
  etc
Does anybody have any experience with adding a new data type and creating GIST indexes on that. If so , please reply..
 Thanks in advance
  Mogin