summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorFujii Masao2014-11-13 03:14:48 +0000
committerFujii Masao2014-11-13 03:14:48 +0000
commitc291503b1c8250c7ba6ca900b7ba2f85a64b1eb6 (patch)
tree8a9718c756942be40d89af6f28bf57a00bbc615b /src/include/access
parent677708032c4a4d37cdb2a4bd45726fc260308db7 (diff)
Rename pending_list_cleanup_size to gin_pending_list_limit.
Since this parameter is only for GIN index, it's better to add "gin" to the parameter name for easier understanding.
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/gin.h2
-rw-r--r--src/include/access/gin_private.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/gin.h b/src/include/access/gin.h
index a0d4da84b08..433e56f20df 100644
--- a/src/include/access/gin.h
+++ b/src/include/access/gin.h
@@ -67,7 +67,7 @@ typedef char GinTernaryValue;
/* GUC parameters */
extern PGDLLIMPORT int GinFuzzySearchLimit;
-extern int pending_list_cleanup_size;
+extern int gin_pending_list_limit;
/* ginutil.c */
extern void ginGetStats(Relation index, GinStatsData *stats);
diff --git a/src/include/access/gin_private.h b/src/include/access/gin_private.h
index 4a8db5a5003..333316d78e2 100644
--- a/src/include/access/gin_private.h
+++ b/src/include/access/gin_private.h
@@ -326,7 +326,7 @@ typedef struct GinOptions
((relation)->rd_options && \
((GinOptions *) (relation)->rd_options)->pendingListCleanupSize != -1 ? \
((GinOptions *) (relation)->rd_options)->pendingListCleanupSize : \
- pending_list_cleanup_size)
+ gin_pending_list_limit)
/* Macros for buffer lock/unlock operations */