From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | tuomo(dot)salo(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Documentation issue: Default value of temp_buffers |
Date: | 2020-04-20 17:47:03 |
Message-ID: | 20200420174703.GA15940@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-04-20 20:21:32 | Re: pgsql: doc: add examples of creative use of unique expression indexes |
Previous Message | PG Doc comments form | 2020-04-20 16:56:00 | prefix match operator ^@ |