| От | Tom Lane |
|---|---|
| Тема | Re: Getting list of supported types in Postgres |
| Дата | |
| Msg-id | 5400.1376579744@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Getting list of supported types in Postgres (Ivan Radovanovic <radovanovic@gmail.com>) |
| Ответы |
Re: Getting list of supported types in Postgres
|
| Список | pgsql-general |
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
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера