Re: fillfactor hides autovacuum parameters in 8.4.0 - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: fillfactor hides autovacuum parameters in 8.4.0
Date
Msg-id 20090818215957.GC4885@alvh.no-ip.org
Whole thread Raw
In response to fillfactor hides autovacuum parameters in 8.4.0  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-bugs
Itagaki Takahiro wrote:
> PostgreSQL version: 8.4.0
> Operating system:   all versions
>
> If we set FILLFACTOR to a table, autovacuum parameters in postgresql.conf
> will not affect to the table; default values are always used.
>
> In 8.4.0, we create StdRdOptions if a relation has some fields in
> pg_class.reloption. Then, unspecified fields are filled with the
> default values. The values are always hard-coded default values and
> don't reflect current GUC settings.

Hmm, I'm fairly sure the code had this right originally ... maybe it got
drowned in some of the infinite reworking of that patch and I neglected
to test it.  I'll have a look tomorrow.

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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bad interval conversion?
Next
From: Fujii Masao
Date:
Subject: Re: BUG #4961: pg_standby.exe crashes with no args