pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: tuomo.salo@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Documentation issue: Default value of temp_buffers
Date: Mon, 20 Apr 2020 13:47:03 -0400
Message-ID: <20200420174703.GA15940@alvherre.pgsql> (raw)
In-Reply-To: <158738828537.11604.8519749799549110932@wrigleys.postgresql.org>

Hello,

On 2020-Apr-20, PG Doc comments form wrote:

> https://www.postgresql.org/docs/11/runtime-config-resource.html says:
> 
> ------snip------
> temp_buffers (integer):
> Sets the maximum number of temporary buffers used by each database session
> [...] The default is eight megabytes (8MB). 
> ------snap------
> 
> Are we setting the maximum number of buffers or the maximum total size of
> the buffers?

Yeah, it's ambiguous. If you give it without units, it's the number of
buffers; otherwise it's the size.  The docs were updated in version 12
to include this phrase: "If this value is specified without units, it is
taken as blocks, that is BLCKSZ bytes, typically 8kB."

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (2+ messages)

Message-ID: <20200420174703.GA15940@alvherre.pgsql>
Permalink:  ../20200420174703.GA15940@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200420174703.GA15940@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: alvherre@2ndquadrant.com, tuomo.salo@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Documentation issue: Default value of temp_buffers
  In-Reply-To: <20200420174703.GA15940@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox