Re: pgsql: Rearrange vacuum-related bits in PGPROC as a bitmask, to better

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Rearrange vacuum-related bits in PGPROC as a bitmask, to better
Date: 2007-10-24 21:51:52
Message-ID: 15668.1193262712@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

alvherre(at)postgresql(dot)org (Alvaro Herrera) writes:
> Rearrange vacuum-related bits in PGPROC as a bitmask, to better support
> having several of them. Add two more flags: whether the process is
> executing an ANALYZE, and whether a vacuum is for Xid wraparound (which
> is obviously only set by autovacuum).

Is the explicit reset of PROC_VACUUM_FOR_WRAPAROUND (about line 2140
of autovacuum.c) actually needed? Won't that get cleared automatically
during transaction end?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2007-10-24 22:54:13 Re: pgsql: Rearrange vacuum-related bits in PGPROC as a bitmask, to better
Previous Message Alvaro Herrera 2007-10-24 20:55:36 pgsql: Rearrange vacuum-related bits in PGPROC as a bitmask, to better