aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-03-09 15:50:40 -0800
committerAndres Freund <andres@anarazel.de>2017-03-09 16:33:02 -0800
commit3717dc149ecf44b8be95350a68605ba7299474fd (patch)
tree0492818f880d969d6c18cdaf305dafc4d5bf7cbd /src
parentfe797b4a6a69ec0c9bf6ff992eac20c4084fda41 (diff)
downloadpostgresql-3717dc149ecf44b8be95350a68605ba7299474fd.tar.gz
postgresql-3717dc149ecf44b8be95350a68605ba7299474fd.zip
Add amcheck extension to contrib.
This is the beginning of a collection of SQL-callable functions to verify the integrity of data files. For now it only contains code to verify B-Tree indexes. This adds two SQL-callable functions, validating B-Tree consistency to a varying degree. Check the, extensive, docs for details. The goal is to later extend the coverage of the module to further access methods, possibly including the heap. Once checks for additional access methods exist, we'll likely add some "dispatch" functions that cover multiple access methods. Author: Peter Geoghegan, editorialized by Andres Freund Reviewed-By: Andres Freund, Tomas Vondra, Thomas Munro, Anastasia Lubennikova, Robert Haas, Amit Langote Discussion: CAM3SWZQzLMhMwmBqjzK+pRKXrNUZ4w90wYMUWfkeV8mZ3Debvw@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/tools/pgindent/typedefs.list2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index 296552e3948..3487f7becb7 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -244,6 +244,8 @@ BrinRevmap
BrinSpecialSpace
BrinTuple
BrinValues
+BtreeCheckState
+BtreeLevel
Bucket
BufFile
Buffer