pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Documentation issue: Default value of temp_buffers
2+ messages / 2 participants
[nested] [flat]

* Documentation issue: Default value of temp_buffers
@ 2020-04-20 13:11 PG Doc comments form <noreply@postgresql.org>
  2020-04-20 17:47 ` Re: Documentation issue: Default value of temp_buffers Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2020-04-20 13:11 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: tuomo.salo@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/runtime-config-resource.html
Description:

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?


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Documentation issue: Default value of temp_buffers
  2020-04-20 13:11 Documentation issue: Default value of temp_buffers PG Doc comments form <noreply@postgresql.org>
@ 2020-04-20 17:47 ` Alvaro Herrera <alvherre@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2020-04-20 17:47 UTC (permalink / raw)
  To: tuomo.salo@gmail.com; pgsql-docs@lists.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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-04-20 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 13:11 Documentation issue: Default value of temp_buffers PG Doc comments form <noreply@postgresql.org>
2020-04-20 17:47 ` Alvaro Herrera <alvherre@2ndquadrant.com>

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