[Patch] change the default value of shared_buffers in postgresql.conf.sample - Mailing list pgsql-hackers

From zhangjie2@fujitsu.com
Subject [Patch] change the default value of shared_buffers in postgresql.conf.sample
Date
Msg-id TYWPR01MB7678772FD8640C404F1DC882F9079@TYWPR01MB7678.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: [Patch] change the default value of shared_buffers in postgresql.conf.sample
List pgsql-hackers
Hi all

In PostgreSQL 14, The default value of shared_buffers is 128MB, but in postgresql.conf.sample, the default value of
shared_buffersis 32MB.
 

I think the following changes should be made.

File: postgresql\src\backend\utils\misc\ postgresql.conf.sample
#shared_buffers = 32MB  =>  #shared_buffers = 128MB

[PostgreSQL 14]
shared_buffers (integer)
Sets the amount of memory the database server uses for shared memory buffers. The default is typically 128 megabytes
(128MB)
https://www.postgresql.org/docs/14/runtime-config-resource.html

--------------------------------------------------------------------
In PostgreSQL 9.2, The default value of shared_buffers is 32MB.

[PostgreSQL 9.2]
shared_buffers (integer)
Sets the amount of memory the database server uses for shared memory buffers. The default is typically 32 megabytes
(32MB)
https://www.postgresql.org/docs/9.2/runtime-config-resource.html

Here is a patch.

Best Regards!



Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Can a child process detect postmaster death when in pg_usleep?
Next
From: "tanghy.fnst@fujitsu.com"
Date:
Subject: RE: Added schema level support for publication.