| От | Michael Fuhr |
|---|---|
| Тема | Re: finding indexed functions from pg_index |
| Дата | |
| Msg-id | 20050920220323.GA66861@winnie.fuhr.org обсуждение исходный текст |
| Ответ на | finding indexed functions from pg_index (Scott Cain <cain@cshl.edu>) |
| Список | pgsql-interfaces |
On Tue, Sep 20, 2005 at 02:15:36PM -0400, Scott Cain wrote: > 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. See the pg_get_indexdef() function. http://www.postgresql.org/docs/8.0/interactive/functions-info.html When trying to figure out how to query the system catalogs, it can be useful to study the queries that psql runs for \d commands. Run "psql -E" or execute "\set ECHO_HIDDEN" to see those queries. -- Michael Fuhr
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера