Thread: document that brin's autosummarize parameter is off by default

document that brin's autosummarize parameter is off by default

From
Jaime Casanova
Date:
Hi everyone,

Just noted that the default value of autosummarize reloption for brin
indexes is not documented, or at least not well documented.

I added the default value in create_index.sgml where other options
mention their own defaults, also made a little change in brin.sgml to 
make it more clear that is disabled by default (at least the way it 
was written made no sense for me, but it could be that my english is 
not that good).

-- 
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL

Attachment

Re: document that brin's autosummarize parameter is off by default

From
Justin Pryzby
Date:
Ten months ago, Jaime Casanova wrote:
> Hi everyone,
> 
> Just noted that the default value of autosummarize reloption for brin
> indexes is not documented, or at least not well documented.
> 
> I added the default value in create_index.sgml where other options
> mention their own defaults, also made a little change in brin.sgml to 
> make it more clear that is disabled by default (at least the way it 
> was written made no sense for me, but it could be that my english is 
> not that good).

It seems like "This last trigger" in the current text is intended to mean "The
second condition".  Your change improves that.

Should we also consider enabling autosummarize by default ?
It was added in v10, after BRIN was added in v9.5.  For us, brin wasn't usable
without autosummarize.

Also, note that vacuums are now triggered by insertions, since v13, so it might
be that autosummarize is needed much less.

-- 
Justin

PS. I hope there's a faster response to your pg_upgrade patch.