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-18 21:59:57
Message-ID: 20090818215957.GC4885@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Morus Walter 2009-08-19 06:25:02 Re: BUG #4993: memory issue with array_agg
Previous Message Tom Lane 2009-08-18 21:25:37 Re: Bad interval conversion?

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-08-18 22:09:19 Re: Lazy Snapshots
Previous Message Alvaro Herrera 2009-08-18 21:51:36 Re: REGRESS_OPTS versus MSVC build scripts