Re: Index Page Split logging - Mailing list pgsql-hackers

From Gokulakannan Somasundaram
Subject Re: Index Page Split logging
Date
Msg-id 9362e74e0801020316x28e43c04s313b8a5f1f38302c@mail.gmail.com
Whole thread Raw
In response to Re: Index Page Split logging  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Index Page Split logging  (Martijn van Oosterhout <kleptog@svana.org>)
List 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 by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Index Page Split logging
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Index Page Split logging