Re: Getting list of supported types in Postgres

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Getting list of supported types in Postgres
Дата
Msg-id 520CECE5.3020301@gmail.com
обсуждение исходный текст
Ответ на Re: Getting list of supported types in Postgres  (Ivan Radovanovic <radovanovic@gmail.com>)
Ответы Re: Getting list of supported types in Postgres  (Ivan Radovanovic <radovanovic@gmail.com>)
Список pgsql-general
On 08/15/2013 07:53 AM, Ivan Radovanovic wrote:

>>>
>>> Now I just need to find out which types can be indexed (and which types
>>> can be part of PK)
>>
>> http://www.postgresql.org/docs/9.2/interactive/indexes.html
>>
>
> doesn't list which types can be indexed and which can't?

Postgres can handle a variety of indexes including indexing on
expressions, which is why I pointed you to that link.

To cut to the chase, in the above link at:

http://www.postgresql.org/docs/9.2/interactive/indexes-opclass.html

there is this:

SELECT am.amname AS index_method,
        opf.opfname AS opfamily_name,
        amop.amopopr::regoperator AS opfamily_operator
     FROM pg_am am, pg_opfamily opf, pg_amop amop
     WHERE opf.opfmethod = am.oid AND
           amop.amopfamily = opf.oid
     ORDER BY index_method, opfamily_name, opfamily_operator;
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


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

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