Re: [HACKERS] [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Jim C. Nasby
On Fri, Feb 23, 2007 at 06:47:52PM -0500, Tom Lane wrote: > I wrote: > > I don't find this particularly important, because we have never intended > > direct update of catalog entries to be a primary way of interacting with > > the system. The current pg_autovacuum setup is a stopgap until the dust

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Tom Lane
I wrote: > I don't find this particularly important, because we have never intended > direct update of catalog entries to be a primary way of interacting with > the system. The current pg_autovacuum setup is a stopgap until the dust > has settled enough that we know what sort of long-term API we w

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Mark Stosberg wrote: >> Adding a default of -1 seems like a more cumbersome way to express the >> same thing to me. > To be frank, I don't remember what the rationale was for not using > NULLs. Simplicity of code, I guess. We tend to avoid allowing fi

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Alvaro Herrera
Mark Stosberg wrote: > Jim C. Nasby wrote: > > On Fri, Feb 23, 2007 at 04:08:45PM -0300, Alvaro Herrera wrote: > >> Mark Stosberg wrote: > >>> 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: > >>> Disa

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Mark Stosberg
Jim C. Nasby wrote: > On Fri, Feb 23, 2007 at 04:08:45PM -0300, Alvaro Herrera wrote: >> Mark Stosberg wrote: >>> 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. H

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Jim C. Nasby
On Fri, Feb 23, 2007 at 04:08:45PM -0300, Alvaro Herrera wrote: > Mark Stosberg wrote: > > 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

Re: [GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Alvaro Herrera
Mark Stosberg wrote: > 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 You can u

[GENERAL] pg_autovacuum should allow NULL values

2007-02-23 Thread Mark Stosberg
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_f