Re: finding indexed functions from pg_index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: finding indexed functions from pg_index
Дата
Msg-id 8578.1127253285@sss.pgh.pa.us
обсуждение исходный текст
Ответ на finding indexed functions from pg_index  (Scott Cain <cain@cshl.edu>)
Список pgsql-interfaces
Scott Cain <cain@cshl.edu> writes:
> What I haven't figure out is this: how does one determine what the
> declarative statement is for a functional index that is obtained from
> pg_index.indexprs?  What I would like to be able to do is be able to
> recreate the SQL that defined that index.  Is that represented somewhere
> in another system table?

Use pg_get_indexdef().
        regards, tom lane


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

Предыдущее
От: Scott Cain
Дата:
Сообщение: finding indexed functions from pg_index
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: finding indexed functions from pg_index