Question about (lazy) vacuum

From: Gregory Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question about (lazy) vacuum
Date: 2006-08-23 09:23:35
Message-ID: 87odubolew.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


With all this code to handle ignoring vacuum transactions in calculating the
global xmin it just occurred to me to wonder: Does lazy vacuum need a
transaction at all? It doesn't do the tuple moving tricks with xvac that
vacuum full does so does lazy vacuum's xid ever make it into tables? Couldn't
it just use GetTopTransactionId instead of its own xid? Would this cause any
problems?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2006-08-23 09:37:03 Re: Replication
Previous Message Greg Stark 2006-08-23 09:19:29 Re: Tricky bugs in concurrent index build