diff options
author | Bruce Momjian <bruce@momjian.us> | 2018-11-02 09:11:00 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2018-11-02 09:11:00 -0400 |
commit | 3e0f1a4741f564c1a2fa6e944729d6967355d8c7 (patch) | |
tree | 7e28e221e269c0b4b9e01e561a5f7974b3d34c80 /src/backend | |
parent | 0083a824333874570ec34b23c9acd445d1183036 (diff) | |
download | postgresql-3e0f1a4741f564c1a2fa6e944729d6967355d8c7.tar.gz postgresql-3e0f1a4741f564c1a2fa6e944729d6967355d8c7.zip |
GUC: adjust effective_cache_size docs and SQL description
Clarify that effective_cache_size is both kernel buffers and shared
buffers.
Reported-by: nat@makarevitch.org
Discussion: https://postgr.es/m/153685164808.22334.15432535018443165207@wrigleys.postgresql.org
Backpatch-through: 9.3
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/utils/misc/guc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 2317e8be6be..e471d7f53cd 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -2987,10 +2987,9 @@ static struct config_int ConfigureNamesInt[] = { {"effective_cache_size", PGC_USERSET, QUERY_TUNING_COST, - gettext_noop("Sets the planner's assumption about the size of the disk cache."), - gettext_noop("That is, the portion of the kernel's disk cache that " - "will be used for PostgreSQL data files. This is measured in disk " - "pages, which are normally 8 kB each."), + gettext_noop("Sets the planner's assumption about the size of the data cache."), + gettext_noop("That is, the size of the cache used for PostgreSQL data files. " + "This is measured in disk pages, which are normally 8 kB each."), GUC_UNIT_BLOCKS, }, &effective_cache_size, |