mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user