Re: fillfactor hides autovacuum parameters in 8.4.0

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: fillfactor hides autovacuum parameters in 8.4.0
Date: 2009-08-20 03:27:15
Message-ID: 20090820032715.GD6781@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Itagaki Takahiro wrote:
>
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
>
> > > We should remember whether a field was specified or not independntly.
> > I'm not sure what you are suggesting ...?
>
> Please imagine that:
>
> =# SET autovacuum_vacuum_scale_factor = 0.05;
> =# ALTER TABLE tbl SET (autovacuum_vacuum_threshold = 10);

Uh, but this doesn't work because you can't SET inside a session and
have autovacuum read it. Only the values that you change with ALTER
TABLE can be read by autovacuum; the rest of the values come from
postgresql.conf.

But I'm very dizzy today so perhaps I'm missing something obvious.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dmitry Samokhin 2009-08-20 07:48:12 BUG #4997: Expression evaluation rules
Previous Message Itagaki Takahiro 2009-08-20 03:18:22 Re: fillfactor hides autovacuum parameters in 8.4.0

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-08-20 05:55:45 Re: hot standby - merged up to CVS HEAD
Previous Message Robert Haas 2009-08-20 03:19:42 Re: hot standby - merged up to CVS HEAD