| PostgreSQL 7.4.16 Documentation | ||||
|---|---|---|---|---|
| Prev | Fast Backward | Chapter 50. GiST Indexes | Fast Forward | Next |
There are seven methods that an index operator class for GiST must provide:
Given a predicate p on a tree page, and a user query, q, this method will return false if it is certain that both p and q cannot be true for a given data item.
This method consolidates information in the tree. Given a set of entries, this function generates a new predicate that is true for all the entries.
Converts the data item into a format suitable for physical storage in an index page.
The reverse of the compress method. Converts the index representation of the data item into a format that can be manipulated by the database.
Returns a value indicating the "cost" of inserting the new entry into a particular branch of the tree. items will be inserted down the path of least penalty in the tree.
When a page split is necessary, this function decides which entries on the page are to stay on the old page, and which are to move to the new page.
Returns true if two entries are identical, false otherwise.
No comments could be found for this page.
Please use this form to add your own comments regarding your experience with particular features of PostgreSQL, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged. If you have a question or need help, please see the faq, try a mailing list, or join us on IRC. Note that submissions containing URLs or other keywords commonly found in 'spam' comments may be silently discarded. Please contact the webmaster if you think this is happening to you in error.
In order to submit a comment, you must have a community account.
* denotes required field