diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
commit | 8548ddc61b5858b6466e69f66a6b1a7ea9daef06 (patch) | |
tree | e94be5d2f212ed5185180b0ebbb5fc060e1f32b6 /src/backend/access/gin | |
parent | 75506195da81d75597a4025b72f8367e6c45f60d (diff) |
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and
unreferenced variables.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
Diffstat (limited to 'src/backend/access/gin')
-rw-r--r-- | src/backend/access/gin/README | 2 | ||||
-rw-r--r-- | src/backend/access/gin/ginbtree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gin/README b/src/backend/access/gin/README index 838fdc0d630..76c12ae2f6b 100644 --- a/src/backend/access/gin/README +++ b/src/backend/access/gin/README @@ -270,7 +270,7 @@ is stored in the higher bits. That requires 43 bits in total, which conveniently fits in at most 6 bytes. A compressed posting list is passed around and stored on disk in a -PackedPostingList struct. The first item in the list is stored uncompressed +GinPostingList struct. The first item in the list is stored uncompressed as a regular ItemPointerData, followed by the length of the list in bytes, followed by the packed items. diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c index 11a8ed7bbc2..4c29261256a 100644 --- a/src/backend/access/gin/ginbtree.c +++ b/src/backend/access/gin/ginbtree.c @@ -650,7 +650,7 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack, } else { - elog(ERROR, "invalid return code from GIN placeToPage method: %d", rc); + elog(ERROR, "invalid return code from GIN beginPlaceToPage method: %d", rc); result = false; /* keep compiler quiet */ } |