Re: Getting list of supported types in Postgres

Поиск
Список
Период
Сортировка
От Ivan Radovanovic
Тема Re: Getting list of supported types in Postgres
Дата
Msg-id 520CF257.9000000@gmail.com
обсуждение исходный текст
Ответ на Re: Getting list of supported types in Postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 08/15/13 17:15, Tom Lane napisa:
> Ivan Radovanovic<radovanovic@gmail.com>  writes:
>> Thanks Adrian, but question was how to decide which types are indexable
>
> A little bit of research in the system-catalogs documentation will show
> you how to find the types that can be accepted by some index opclass
> (hint: "pg_opclass.opcintype::regtype").
>
> As far as the other question goes, you could look for types that have a
> pg_type.typmodin function -- though I'm not sure whether you want to
> consider every possible usage of typmods as being a "precision".
>
>             regards, tom lane

Thanks Tom, I will take type definitions from documentation (as Adrian
suggested), and it looks like your pg_opclass suggestion will solve
indexability question. Case closed I guess :-)

Regards,
Ivan


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Getting list of supported types in Postgres
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Getting list of supported types in Postgres