Find out what on what function depends an index

Поиск
Список
Период
Сортировка
От Andreas Ulbrich
Тема Find out what on what function depends an index
Дата
Msg-id 556C66FE.5040605@matheversum.de
обсуждение исходный текст
Ответы Re: Find out what on what function depends an index  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Salvete.

If I have an expression based index (a fucntion call) then the index
will become corrupt, if the function is changed. As the function
developer, I do not know, who uses the function for an index, and as the
user of the function in an index I do not know if the function is
changed. So the idea is: Have an event trigger ON ddl_command_end to do
a REINDEX; see the attached example.

The question is the todo in the script: Is there a way to find out what
indexes depends on what function?

thanks
Andreas



Вложения

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

Предыдущее
От: Maxim Boguk
Дата:
Сообщение: Re: Curious case of huge simple btree indexes bloat.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Find out what on what function depends an index