Re: [PATCHES] pg_autovacuum patch for 7.4.2 and HEAD

2004-06-10 Thread Tom Lane
Matthew T. O'Connor [EMAIL PROTECTED] writes: pg_autovacuum.c has some problems with int overflow and not using appropriate datatypes to track certain table values. This patch attempts to fix all these issues. Someone should take a look and make sure its valid. ! new_tbl-relid =

Re: [PATCHES] pg_autovacuum patch for 7.4.2 and HEAD

2004-03-13 Thread Matthew T. O'Connor
Tom Lane wrote: Matthew T. O'Connor [EMAIL PROTECTED] writes: ! new_tbl-relid = atol(PQgetvalue(res, row, PQfnumber(res, oid))); ! new_tbl-reltuples = atof(PQgetvalue(res, row, PQfnumber(res, reltuples))); ! new_tbl-relpages = atol(PQgetvalue(res, row, PQfnumber(res, relpages)));