Re: See the WHERE clause of a partial index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: See the WHERE clause of a partial index
Дата
Msg-id 19433.1347650323@sss.pgh.pa.us
обсуждение исходный текст
Ответ на See the WHERE clause of a partial index  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Ответы Re: See the WHERE clause of a partial index  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Список pgsql-general
Paul Jungwirth <pj@illuminatedcomputing.com> writes:
> I'm not sure how to interpret that `indpred` column. Is there any way
> to reconstruct the WHERE clause I originally passed to the CREATE
> INDEX command?

pg_get_indexdef() should help.  If you really want just the WHERE
clause, possibly pg_get_expr() would work, but I've not tried it on
index clauses.

            regards, tom lane


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

Предыдущее
От: Paul Jungwirth
Дата:
Сообщение: See the WHERE clause of a partial index
Следующее
От: jam3
Дата:
Сообщение: Re: Would my postgresql 8.4.12 profit from doubling RAM?