From: | Mark Stosberg <mark(at)summersault(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | pg_autovacuum should allow NULL values |
Date: | 2007-02-23 18:51:35 |
Message-ID: | ernd4l$1v31$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
I just tried to add something to the pg_autovacuum table for the first
time today (with 8.1). I wanted to make the simplest possible entry:
Disable auto-vacuuming for a table. However, the data model requires
that I also enter values for:
vac_base_thresh
vac_scale_factor
anl_base_thres
anl_scale_factor
vac_cost_delay
vac_cost_limit
None of those values matter when vacuuming is disabled for the table! I
suggest all these fields be nullable, and default to global values if
they are NULL.
These are "guts" and I should have to learn about them or fake them if I
just want to disable vacuuming for a table.
Likewise, if I just want to set one of the values, I shouldn't have to
set /all/ of them if the defaults are otherwise reasonable.
For the moment, I suppose I'll go and fake all these values so I can
disable a table from Vacuuming.
Mark
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2007-02-23 18:55:08 | Re: PostgreSQL on Windows Paper |
Previous Message | Susemail | 2007-02-23 18:33:40 | Re: postgresql vs mysql |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Hammond | 2007-02-23 19:03:50 | Re: SCMS question |
Previous Message | Bruce Momjian | 2007-02-23 18:38:19 | pgsql: Update Solaris FAQ. |