Re: Index Page Split logging

Поиск
Список
Период
Сортировка
От Gokulakannan Somasundaram
Тема Re: Index Page Split logging
Дата
Msg-id 9362e74e0801020316x28e43c04s313b8a5f1f38302c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Index Page Split logging  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Index Page Split logging  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers

All indexes are done by user-defined functions, even b-trees. People can
make their own b-tree indexes by defining an operator class. Note that
"user-defined" is this case means anything called via the fmgr
interface.

Again, i think i have one more wrong understanding. My understanding is,
We are discussing about user-defined functions because, they might be actually be mutable functions, but the user might have classified as immutable. This might cause some problems while replaying the log. In the case of hash-indexes, if the hash-function is mutable, then the user has a corrupted index.
Is there some other problem also, because of user-defined functions, that will stall  recovery in the proposed idea?

In our standard b-tree(with no user-defined operator classes), there shouldn't be any problem with replaying right?

Again shouldn't we say b-tree with user-defined op-classes as gist-btree? If not what is the difference between both?

Again thanks for the explanation.
 
--
Thanks,
Gokul.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Index Page Split logging
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Index Page Split logging