Re: Allow single table VACUUM in transaction block - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Allow single table VACUUM in transaction block
Date
Msg-id CA+Tgmoa8gKKi_xbOmgVAgANhvMGRMTT2wJKrXsB+yZEFtv=DaA@mail.gmail.com
Whole thread Raw
In response to Re: Allow single table VACUUM in transaction block  (Greg Stark <stark@mit.edu>)
Responses Re: Allow single table VACUUM in transaction block
List pgsql-hackers
On Wed, Nov 16, 2022 at 5:14 PM Greg Stark <stark@mit.edu> wrote:
> However I'm not a fan of commands that sometimes do one thing and
> sometimes magically do something very different. I don't like the idea
> that the same vacuum command would sometimes run in-process and
> sometimes do this out of process request. And the rules for when it
> does which are fairly complex to explain -- it runs in process unless
> you're in a transaction when it runs out of process unless it's a
> temporary table ...

100% agree.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: redundant check of msg in does_not_exist_skipping
Next
From: Andres Freund
Date:
Subject: Re: ubsan fails on 32bit builds