Re: PATCH to allow concurrent VACUUMs to not lock each - Mailing list pgsql-patches

From Tom Lane
Subject Re: PATCH to allow concurrent VACUUMs to not lock each
Date
Msg-id 8215.1116862951@sss.pgh.pa.us
Whole thread Raw
In response to Re: PATCH to allow concurrent VACUUMs to not lock each  (Hannu Krosing <hannu@skype.net>)
Responses Re: PATCH to allow concurrent VACUUMs to not lock each
Re: PATCH to allow concurrent VACUUMs to not lock each
List pgsql-patches
Hannu Krosing <hannu@skype.net> writes:
> I can't think of any other cases where it could matter, as at least the
> work done inside vacuum_rel() itself seema non-rollbackable.

VACUUM FULL's tuple-moving is definitely roll-back-able, so it might be
prudent to only do this for lazy VACUUM.  But on the other hand, VACUUM
FULL holds an exclusive lock on the table so no one else is going to see
its effects concurrently anyway.

As I said, it needs more thought than I've been able to spare for it yet
...

            regards, tom lane

pgsql-patches by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: PATCH to allow concurrent VACUUMs to not lock each
Next
From: Hannu Krosing
Date:
Subject: Re: PATCH to allow concurrent VACUUMs to not lock each