Re: [HACKERS] Autovacuum improvements

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Autovacuum improvements
Date: 2007-01-16 02:52:53
Message-ID: 5483.1168915973@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> Is there any chance of a race condition here? That is, can the launcher
> process start a new autovacuum process against that database that your
> code will miss since it was started after you began your search?

No; we're holding a lock against incoming processes in that database.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-01-16 05:07:12 Re: xml type and encodings
Previous Message Matthew T. O'Connor 2007-01-16 02:36:01 Re: [HACKERS] Autovacuum improvements

Browse pgsql-patches by date

  From Date Subject
Next Message CN 2007-01-16 03:09:36 Re: BCC55 and libpq 8.2
Previous Message Matthew T. O'Connor 2007-01-16 02:36:01 Re: [HACKERS] Autovacuum improvements