Re: pgsql/src/backend/commands (command.c vacuum.c) - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src/backend/commands (command.c vacuum.c)
Date
Msg-id 11350.976377125@sss.pgh.pa.us
Whole thread Raw
In response to RE: pgsql/src/backend/commands (command.c vacuum.c)  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-committers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> Special handling of TOAST relations during VACUUM. TOAST relations
>> are vacuumed while the lock on the master table is still active.

> It seems very dangerous to me.
> When VACUUM of a master table was finished, the transaction is
> in already committed state in many cases.

I don't see the problem.  If the toast table doesn't get vacuumed,
no real harm is done other than failing to recover space.

            regards, tom lane

pgsql-committers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: pgsql/src/backend/commands (command.c vacuum.c)
Next
From: momjian@postgresql.org
Date:
Subject: pgsql/contrib/fulltextindex (TODO)