pgsql: Improve defaults shown in postgresql.conf.sample and pg_settings

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve defaults shown in postgresql.conf.sample and pg_settings
Date: 2021-08-23 16:34:08
Message-ID: E1mICtk-0000P8-9n@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve defaults shown in postgresql.conf.sample and pg_settings

Previously, these showed unlikely default values. The new default value
128MB (since PG 10) is not always accurate since initdb tries several
increasing values, but it likely to be accurate.

Reported-by: Zhangjie <zhangjie2(at)fujitsu(dot)com>

Discussion: https://postgr.es/m/TYWPR01MB7678772FD8640C404F1DC882F9079@TYWPR01MB7678.jpnprd01.prod.outlook.com

Author: Zhangjie

Backpatch-through: master

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f7bda63a487c542949c8150de8e63bc728e5e31e

Modified Files
--------------
src/backend/utils/misc/guc.c | 2 +-
src/backend/utils/misc/postgresql.conf.sample | 2 +-
src/bin/initdb/initdb.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2021-08-23 19:54:12 pgsql: Avoid creating archive status ".ready" files too early
Previous Message Daniel Gustafsson 2021-08-23 11:12:28 Re: pgsql: psql: Add test for query canceling