Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2019-07-16 04:23:53 +0000
committerMichael Paquier2019-07-16 04:23:53 +0000
commit0896ae561b6c799d45cb61d8a3b18fbb442130a7 (patch)
treecf4204ef18047e3c1eac4e9daa320156b106a374 /src/backend/access/gin
parent4c3d05d875dd173a81a995c6e14d69496b467eec (diff)
Fix inconsistencies and typos in the tree
This is numbered take 7, and addresses a set of issues around: - Fixes for typos and incorrect reference names. - Removal of unneeded comments. - Removal of unreferenced functions and structures. - Fixes regarding variable name consistency. Author: Alexander Lakhin Discussion: https://postgr.es/m/10bfd4ac-3e7c-40ab-2b2e-355ed15495e8@gmail.com
Diffstat (limited to 'src/backend/access/gin')
-rw-r--r--src/backend/access/gin/README2
-rw-r--r--src/backend/access/gin/ginfast.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/gin/README b/src/backend/access/gin/README
index 30c0867829e..838fdc0d630 100644
--- a/src/backend/access/gin/README
+++ b/src/backend/access/gin/README
@@ -163,7 +163,7 @@ algorithms.
* The posting list can be accessed with GinGetPosting(itup)
-* If GinITupIsCompressed(itup), the posting list is stored in compressed
+* If GinItupIsCompressed(itup), the posting list is stored in compressed
format. Otherwise it is just an array of ItemPointers. New tuples are always
stored in compressed format, uncompressed items can be present if the
database was migrated from 9.3 or earlier version.
diff --git a/src/backend/access/gin/ginfast.c b/src/backend/access/gin/ginfast.c
index 2b3dd1c677f..439a91b3e61 100644
--- a/src/backend/access/gin/ginfast.c
+++ b/src/backend/access/gin/ginfast.c
@@ -1013,7 +1013,7 @@ ginInsertCleanup(GinState *ginstate, bool full_clean,
/*
* As pending list pages can have a high churn rate, it is desirable to
- * recycle them immediately to the FreeSpace Map when ordinary backends
+ * recycle them immediately to the FreeSpaceMap when ordinary backends
* clean the list.
*/
if (fsm_vac && fill_fsm)