Re: indexes on functions and create or replace function

Поиск
Список
Период
Сортировка
От Matthew Dennis
Тема Re: indexes on functions and create or replace function
Дата
Msg-id e94d85500808281749p52edb592q914f23baefa1ec93@mail.gmail.com
обсуждение исходный текст
Ответ на Re: indexes on functions and create or replace function  (Christophe <xof@thebuild.com>)
Ответы Re: indexes on functions and create or replace function  (Christophe <xof@thebuild.com>)
Список pgsql-general
On Thu, Aug 28, 2008 at 5:32 PM, Christophe <xof@thebuild.com> wrote:
On Aug 28, 2008, at 3:21 PM, Matthew Dennis wrote:
I have no doubt that someone would complain about it, but I think it's better than the alternative.

Determining if changing any function will cause an index to break is not a straight-forward problem.  I don't believe that PG right now keeps a graph of which functions call which, so replacing a function deep in the logical calling hierarchy could break the index as easily as one mentioned at the top.

Yes, I can see that would indeed be a problem.  Are there future plans to start tracking such dependencies?  It seems like it would be a good idea in general.

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ERROR: relation . . . does not exist
Следующее
От: "Matthew Dennis"
Дата:
Сообщение: Re: indexes on functions and create or replace function